circular dependency In EF

Hassan

New Member
The project is a modular form. Each of the modules are located in a separate Laibary. But sometimes it is necessary to communicate between modules. Example, to create a relationship in EF.But when I do it well, then add reference to project A to B is typically not a problem.But when I want to add a project reference to B to A, I encounter the following error.a refrence to could not be added . adding this prpject as a refrence would cause a circular dependencyEach module is a project of the h code., And each module is located in a project.Each module has its own Domain field., And its attributes are defined.(ORM) using the EF.Sometimes they come in contact with the module.For example, a module as news Comments that wish to communicate with each other. A few have a relationship.But to insert a reference to this relationship Letting my other projects. I encounter this errorI appreciate if you can help me better design project
 
Back
Top