开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜