How to Configure Entity Framework POCO with Similar Names

吃可爱长大的小学妹 提交于 2019-12-25 09:45:07

问题


I am working with EF4 with POCO objects I created.

I have Customer entity in my model and two different classes from different projects:

Domain.ProjA.Customer
Domain.ProjB.Customer

My code generation strategy of the EDMX file is Default. The POCO objects are in different project then the edmx. The edmx's project don't have refrence to the poco objects.

How do I tell EF4 that Domain.ProjA.Customer is the POCO to the Customer entity?

来源:https://stackoverflow.com/questions/7839682/how-to-configure-entity-framework-poco-with-similar-names

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!