"the type 'company.model.user' and the type 'company.core.model.user' both have the same simple name of 'user' and so cannot be used in the same model" Code Answer
Only authorized users can answer the Search term. Please sign in first, or register a free account.
this is a limitation of ef that i reported in 2012 https://entityframework.codeplex.com/workitem/483 that is still not implemented in 6.0.2. ef uses a flat internal architecture and does not recognize namespaces. might be coming in ef7 but not before. for now the only solutions is to rename the two classes to unique class names irrespective of the namespace they are in. imho, this is an significant limitation within ef. just consider a class named category and how many different namespaces it could be used within across a domain.