Quantcast
Channel: How to get List of all tables in the Entity data framework? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

How to get List of all tables in the Entity data framework?

$
0
0

I need to get the list of All tables in the Entity Data Framework.

I know that in Linq2SQL we can use something like this.var dataContext = new DataContext();var dataContextTableNames = (from tables in dataContext.Mapping.GetTables() select tables.TableName).ToList();

But, I need to get list of all tables in Entity Data Framework. There is any work around to get similar list in Entity Data Framework.

Thanks in advance.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>