Is the combination of ADO.NET Entity Framework and ASP.MVC wrong by any chance?
问题 I have one solution with three projects. DomainModel (C# Library with ADO.NET Entity Framework) DomainModelTest (Unit Testing for Business Logic) WebApp (Using DomainModel) For some reason, I cannot even bring the view if I pass any of the objects in the DomainModel, not even simple. I get the error below: Any ideas? Compiler Error Message: CS0012: The type 'System.Data.Objects.DataClasses.EntityObject' is defined in an assembly that is not referenced. You must add a reference to assembly