开发者

Regenerating entity objects via EDMGEN in an MSBUILD project

开发者 https://www.devze.com 2023-01-31 19:54 出处:网络
I have my build executing edmgen successfully howeve开发者_StackOverflow社区r it\'s generating entity objects for all of my database tables.What I\'d like to have it do is only generate for select tab

I have my build executing edmgen successfully howeve开发者_StackOverflow社区r it's generating entity objects for all of my database tables. What I'd like to have it do is only generate for select tables like it currently does in the project locally.

I'm using full generation and passing in a connection string.


There is no possibility to work with a subset of objects in EDMGen. You can try creating a new schema containing only the necessary tables, and run EDMGen for this schema only.


Alternatively, you can create your own version of EdmGen by using the EdmGen2 code base.

In the ModelGen method you can define EntityStoreSchemaFilterEntry filters to select which tables you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号