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

Posted by Scott Davies on Stack Overflow See other posts from Stack Overflow or by Scott Davies
Published on 2010-06-10T17:11:36Z Indexed on 2010/06/10 17:12 UTC
Read the original article Hit count: 335

Hi,

I have co-workers working on an Entity Framework model that changes structure (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

© Stack Overflow or respective owner

Related posts about database

Related posts about c#4.0