Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 EF CTP5。
如何获取使用 EF 加载的实体的未代理类型名称。
目前我得到代理类型。
谢谢,本
var unproxiedName = ObjectContext.GetObjectType(someEntity.GetType()).Name;