Is this DDD Specification a good practice or not?
Hi friends, hope you're all doig well,
I'm working on a project by implementing the
As you know that one of the core concepts of
I have written the following
Please could you tell me if this is a good implementation for a specification, or this just wrong manner, because this is the first time I write a specification that needs to deal with database?
Please share with me your experience guys, and massive thanks in advance <3
For more info and definition of the
https://github.com/MbarkT3STO/ExpenovaApp/blob/main/Source/ExpenseService/ExpenseService.Domain/Specifications/Specification.cs
I'm working on a project by implementing the
DDD (Domain Driven Design), As you know that one of the core concepts of
DDD is the Specification Pattern (Specifications),I have written the following
Specification:Please could you tell me if this is a good implementation for a specification, or this just wrong manner, because this is the first time I write a specification that needs to deal with database?
Please share with me your experience guys, and massive thanks in advance <3
For more info and definition of the
Specification<T> class take a look here :https://github.com/MbarkT3STO/ExpenovaApp/blob/main/Source/ExpenseService/ExpenseService.Domain/Specifications/Specification.cs
GitHub
Contribute to MbarkT3STO/ExpenovaApp development by creating an account on GitHub.