SQL Server sys.objects and Entity Framework
SQL Server 2005 and later stores metadata in the sys tables (sys.objects, sys.columns etc.)
Using Entity Framework 4 in 开发者_运维技巧Visual Studio 2010 is it practical to generate a model on these sys tables as a way of working with the metadata? My intent is to use it read-only.
Probably easier to use the INFORMATION_SCHEMA views for this. My guess would be that they are ignored by the EF Framework. However, you could wrap them in your own views and access them that way.
精彩评论