0

I have an application that we have some modules. We have for example FinancialModule and EmployeeModule.

I have an Core project that I created an abstract class called DefaultDbContext that inherits from DbContext and I have an abstract method called ModelCreating that all ConcreteClass (EFFinacialContext and EFEmployeeContext) should implement it to add mapping class.

My problem is that, I have an application with these modules and receiving this message "The entity type EntityName is not part of the model for the current context."

I have each module in running in another application and everything is okay, so,something is wrong when running together.

Who had the same problem using applications with multiples db context?

Thanks

4

1 に答える 1