jasontaylordev / CleanArchitecture

Clean Architecture Solution Template for ASP.NET Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Referring Entityframework in Application layer or use case layer

vinaykasireddy opened this issue · comments

I have noticed you have referred
Microsoft.EntityFrameworkCore in Application layer project. Isn't this violating the principles.

Thought any sort of entityframework related nuget should only be referred in infrastructure layer.

I've created an architecture decision record for this topic: https://github.com/jasontaylordev/CleanArchitecture/wiki/ADR-001-Use-EFCore-In-Application-Layer. Feel free to suggest any changes.