specification-pattern
Using eager loading with specification pattern
I\'ve implemented the specification pattern with Linq as outlined here https://www.packtpub.com/article/nhibernate-3-using-linq-specifications-data-access-layer[详细]
2023-01-29 13:47 分类:问答Entity Framework 4 and Linq to Entities specifications: How to code it?
I threw d开发者_开发百科own this code because it worked, but I really need to refactor to something acceptable.It accepts a set of query objects (strings that look like productid = 3) then adds them t[详细]
2023-01-26 08:39 分类:问答Trouble Creating Specification Across Entities With NLinq
I am using the Specification pattern, and have a working implementation (taken from the WhoCanHelpMe Codeplex project) for getting data via NLinq, generic repositories and all that goodness.[详细]
2023-01-14 21:09 分类:问答Specification pattern - creating compound specifications using lambdas (C#)
If I have a specification defined as an Expression as below: public Expression<Func<Foo, bool>> IsSuperhuman =[详细]
2023-01-12 04:25 分类:问答Is it ok to call specifications from an aggregate factory for validation, or does that validation call belong in a unit test (DDD)?
I have created a factory and a set of specifications to create and validate an aggregate root.Currently I have some tests for the factory that call the specifications on the product of the factory, bu[详细]
2022-12-27 12:28 分类:问答good way to implement NotSpecification: isSpecialCaseOf?
I\'m implementing the specification pattern. The NotSpecification seems simple at first: NotSpecification.IsSpecialCaseOf(otherSpecification)[详细]
2022-12-26 04:49 分类:问答PHP specification pattern that allows transformation to sql
I\'m trying to find out what the best way would be to have a specification pattern in PHP where the specifications could (optionally) by transform开发者_JAVA百科ed to PHP.[详细]
2022-12-12 16:14 分类:问答