开发者

Is it possible to dynamically discover tables in an Entity Framework model?

开发者 https://www.devze.com 2023-01-03 05:18 出处:网络
I have co-workers working on an Entity Framework model that changes structure 开发者_如何学Python(entities), over time as software development progresses.I\'ve written some utilities that interact wit

I have co-workers working on an Entity Framework model that changes structure 开发者_如何学Python(entities), over time as software development progresses. I've written some utilities that interact with the tables within the model, but I'd like to have the code dynamically discover the tables. Is there a way I can do this ? Perhaps with ADO.NET to get the table names and then store them in a collection ?

Thanks,

Scott


You can parse the .edmx file ?

0

精彩评论

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