C# Class WebApp4.Condition.SpecificationBuilder

Exibir arquivo Open project: leeolevis/MVCScaffold-And-Bootstrap

Public Methods

Method Description
AddBox ( Expression expression ) : object>>.Expression
BuildQuery ( string propertyName, SearchOperationEnum operation, object propertyValue ) : bool>>.Expression
BuildSpecification ( List list ) : Specification
GetExpression ( string property ) : object>>.Expression

Private Methods

Method Description
BuildEqualExpression ( string propertyName, object propertyValue ) : bool>>.Expression
GetNonNullableType ( Type type ) : Type
IsNullableType ( Type type ) : bool

Method Details

AddBox() public static method

public static AddBox ( Expression expression ) : object>>.Expression
expression Expression
return object>>.Expression

BuildQuery() public static method

public static BuildQuery ( string propertyName, SearchOperationEnum operation, object propertyValue ) : bool>>.Expression
propertyName string
operation SearchOperationEnum
propertyValue object
return bool>>.Expression

BuildSpecification() public static method

public static BuildSpecification ( List list ) : Specification
list List
return Specification

GetExpression() public static method

public static GetExpression ( string property ) : object>>.Expression
property string
return object>>.Expression