阅读背景:

如何在程序中的实体框架中检索实体的映射表名称

来源:互联网 

is there any way to retrieve mapping table name for an Entity in Entity-framework in program? I know you can use .ToTraceString() to get the command text and then extract the table name, but ToTraceString() method is very slow. is there any other way like using ObjectContext.MetadataWorkspace? Thanksis there any way to retrieve mapping table name




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: