C# Class Sharp.Data.Filters.Filter

ファイルを表示 Open project: sharpmigrations/sharpmigrations Class Usage Examples

Public Methods

Method Description
And ( Filter leftFilter, Filter rightFilter ) : Filter
Eq ( string columnName, object value ) : Filter
Ge ( string columnName, object value ) : Filter
GetAllValueParameters ( ) : object[]
Gt ( string columnName, object value ) : Filter
Le ( string columnName, object value ) : Filter
Lt ( string columnName, object value ) : Filter
Or ( Filter leftFilter, Filter rightFilter ) : Filter

Protected Methods

Method Description
Filter ( ) : System.Collections.Generic

Private Methods

Method Description
AddValueParameterToList ( object filter, List parameters ) : void
CreateFilterCondition ( CompareOperator compareOperator, string columnName, object value ) : Filter
CreateFilterLogic ( LogicOperator logicOperator, Filter leftFilter, Filter rightFilter ) : Filter
GetAllValueParametersRecursive ( Filter filter, List parameters ) : void
GoToSubNode ( object node, List parameters ) : void

Method Details

And() public static method

public static And ( Filter leftFilter, Filter rightFilter ) : Filter
leftFilter Filter
rightFilter Filter
return Filter

Eq() public static method

public static Eq ( string columnName, object value ) : Filter
columnName string
value object
return Filter

Filter() protected method

protected Filter ( ) : System.Collections.Generic
return System.Collections.Generic

Ge() public static method

public static Ge ( string columnName, object value ) : Filter
columnName string
value object
return Filter

GetAllValueParameters() public method

public GetAllValueParameters ( ) : object[]
return object[]

Gt() public static method

public static Gt ( string columnName, object value ) : Filter
columnName string
value object
return Filter

Le() public static method

public static Le ( string columnName, object value ) : Filter
columnName string
value object
return Filter

Lt() public static method

public static Lt ( string columnName, object value ) : Filter
columnName string
value object
return Filter

Or() public static method

public static Or ( Filter leftFilter, Filter rightFilter ) : Filter
leftFilter Filter
rightFilter Filter
return Filter