Frameworks.Entity.Core 6 Specification


Specification


internal

1

 A logic AND Specification
密封类
AndSpecification<T>
继承 抽象类
CompositeSpecification<T>
约束
where T : class

2
 描述:Base class for composite specifications
属性:抽象类
名称:CompositeSpecification<TEntity>
继承 :Specification<TEntity>  描述 Represent a Expression Specification
约束:where TEntity : class

3
描述:Extension methods for add And and Or with parameters rebinder
属性:internal 静态类
名称: ExpressionBuilder


4

描述:
    /// NotEspecification convert a original
    /// specification with NOT logic operator
名称: NotSpecification<TEntity>
属性: internal sealed 
继承: Specification<TEntity>
约束 :where TEntity : class

5

描述:A Logic OR Specification
名称:OrSpecification<T>
继承:CompositeSpecification<T>
约束:where T : class

6
描述:
 /// Helper for rebinder parameters without use Invoke method in expressions
    /// ( this methods is not supported in all linq query providers,
    /// for example in Linq2Entities is not supported)
名称:ParameterRebinder
继承:ExpressionVisitor
属性:internal sealed


-------------------------------------------------------------------

7
描述:构建一个表达示树
名称:DirectSpecification<TEntity>
继承:Specification<TEntity>
约束: where TEntity : class
属性:public sealed


8

名称:ISpecification<TEntity>
属性: public interface
约束: where TEntity : class
描述:   /// Base contract for Specification pattern, for more information
    /// about this pattern see http://martinfowler.com/apsupp/spec.pdf
    /// or http://en.wikipedia.org/wiki/Specification_pattern.
    /// This is really a variant implementation where we have added Linq and
    /// lambda expression into this pattern.

9:
名称:Specification<TEntity>
继承:ISpecification<TEntity>
约束: where TEntity : class
属性: public abstract
描述: Represent a Expression Specification

10

名称:TrueSpecification<TEntity>
属性: public sealed
继承:Specification<TEntity>
约束: where TEntity : class
描述:返回的表达式树默认为true的规约

原文地址:https://www.cnblogs.com/ganmk--jy/p/5370321.html