Specification
Specification copied to clipboard
Base class with tests for adding specifications to a DDD model
Fixes #397
In order to customise and extend the behaviour of the Repository (RepositoryBase), its methods and fields should be protected rather than private
Recently i start liking (and using) the [Unit Of Work pattern](https://learn.microsoft.com/en-us/aspnet/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application#the-repository-and-unit-of-work-patterns) and I noticed that almost all methods to perform database changes in `RepositoryBase` perform `_dbContext.SaveChangesAsync()` internally. IMHO this operation...
Search option in result dto object instead of db class. I have 3 classes; Material , Material Type and Material Group. Material includes the material type and material group. When...
I've saw the docs about [Select](https://specification.ardalis.com/features/select.html). ```cs public class SitemapPageSpecification : Specification { public SitemapPageSpecification() { _ = Query .Where(e => !e.IsDeleted && !e.IsHiddenPage && e.Status == PageStatus.Published && e.PageTypeId...
Hello there, I am using the Specification in a few projects that I am working on, and one of my projects came to the point that it has multiple Specifications...
We've noticed that your package on NuGet.org is missing a README file. ## Why READMEs are Important Our customer research indicates that one of the top problems that package consumers...
I tried writing unit tests on a specification that will sort entities by status which is a SmartEnum but I get the `At least one object must implement IComparable` exception....
I try to reference this package in my wpf(.net 4.8 & .net 6) project which has strong-name , but unfortunately, it throw exception says this assembly need strong-name.
Hi there, I really like the approach via specification and thinking if it is possible to create a provider for Azure Storage Tables. My first guess was to align to...