开发者

Entity Framework metadata information POCO Types

开发者 https://www.devze.com 2023-02-15 04:43 出处:网络
I am using EF 4.0 with POCO. I am trying to to get metdata information from the conceptual model. I was able to use the MetadataWorkspace\'s GetItems() method to get metadata information from the con

I am using EF 4.0 with POCO.

I am trying to to get metdata information from the conceptual model. I was able to use the MetadataWorkspace's GetItems() method to get metadata information from the conceptual model, but all types returned are Edm Types.

Does the con开发者_开发问答ceptual model contain information about the actual POCO types ?


No it doesn't. It contains information about entity types and convention (same class name, same properties names and accessibility) is used to map POCO to entities.

0

精彩评论

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