entity framework ctp5 get unproxied type
I'm working with EF C开发者_如何学CTP5.
How can I get the unproxied type name of an entity loaded using EF.
Currently I get the proxied type.
Thanks, Ben
var unproxiedName = ObjectContext.GetObjectType(someEntity.GetType()).Name;
精彩评论