dataonion.com - SSW Data Onion

Description: Your ultimate data layer

business (49770) marketing (38411) software (34659) app (12012) corporate (9452)

Example domain paragraphs

During 2018/2019 we have moved away from using Data Onion to automatically generate repository classes and instead follow this MediatR rule:  https://rules.ssw.com.au/use-the-mediator-pattern-with-cqrs

Another problem is that .NET Core does not have an implementation of T4 templates – which seriously limits where this library can be used.

“No, the repository/unit-of-work pattern (shortened to Rep/UoW) isn’t useful with EF Core. EF Core already implements a Rep/UoW pattern,  so layering another Rep/UoW pattern on top of EF Core isn’t helpful.  A better solution is to use EF Core directly, which allows you to use all of EF Core’s feature to produce high-performing database accesses.” – Jon Smith https://www.thereformedprogrammer.net/is-the-repository-pattern-useful-with-entity-framework-core/