问题
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