Reputation: 47
I have an one problem for make relation ship between Identity User and my entity model because the user identity is in the DataAccess Layer and the Entity is in the BusinessEntity layer so they are in the 2 different layer and I can not references the identity user to business entity layer is not good and make cycle error so how can I make relation ship between. 2 object identity user(Application User) and entity model for example imagine that entity is Ticket model that want to has relation to user
I try to solved problem with dto but I can't because I don't have enough information and experience for that please help if you know the solution
Upvotes: 0
Views: 45
Reputation: 88852
In EF your entities aren't in your data access layer. They belong in a separate component that is referenced by both your business layer and your data access layer.
Upvotes: 0