Answer the question
In order to leave comments, you need to log in
How to work with one database from different assemblies?
There is a project, divided into separate, independent parts. Presented as separate assemblies.
Each of the assemblies should be able to fully work with a common database for the entire project.
Recommend an ORM capable of doing this. If possible, give an example.
I tried to work with EF CF - there are conflicts that the database model was initialized earlier.
Answer the question
In order to leave comments, you need to log in
Well I do not know. The ORM will drag the mappings with it, which means that each assembly must drag these mappings. And if they have changed - it is necessary to change for everyone.
It seems to me that a separate assembly that encapsulates all work with the database is better.
Communication with the rest through interfaces and IoC
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question