jasontaylordev/CleanArchitecture

Referring Entityframework in Application layer or use case layer

vinaykasireddy opened this issue · 2 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.