Query CreateSimpleCondition Method (EntityAttr, Operator,  Expression )EasyQuery ASP.NET API Reference
Creates a simple condition with indicated attribute, operator and values.

Namespace: Korzh.EasyQuery
Assembly: Korzh.EasyQuery.NET40 (in Korzh.EasyQuery.NET40.dll) Version: 3.7.1.37
Syntax

public SimpleCondition CreateSimpleCondition(
	EntityAttr attr,
	Operator op,
	params Expression[] exprs
)

Parameters

attr
Type: Korzh.EasyQuery EntityAttr
The attribute used in the left part of condition.
op
Type: Korzh.EasyQuery Operator
The operator.
exprs
Type:  Korzh.EasyQuery Expression 
The values for the right part of condition passed as array of expressions (see Expression class).

Return Value

Type: SimpleCondition
New instance of SimpleCondition type.
See Also