Reputation: 11423
If I have for example three projects like this:
The second project has a reference of the third project. and the first project(the api) has a reference of the second project.
What I had observed is:
All things in the third project is accessible in the first project (api) including the
db context and the EF core
!
I want the DAL
to be not accessible expect from the second project. I don't want this transferable dependency between the first and the third project because now any one in the API
can skip repo in the second project and use the third project (DAL
) directly!
Upvotes: 0
Views: 99