Click or drag to resize
WhereCondition Constructor (String, QueryOperator, Object)
Constructor

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public WhereCondition(
	string columnName,
	QueryOperator op,
	Object value
)

Parameters

columnName
Type: SystemString
Column name
op
Type: CMS.DataEngineQueryOperator
Operator
value
Type: SystemObject
Value
Remarks

Conditions created using the constructor don't contain a data source identifier. Source identifiers are used to determine whether sub queries (WhereIn(String, IDataQuery)) are materialized or inserted directly into the parent query. For example, a sub query selecting objects from a separated online marketing database needs to be materialized when the parent query is executed against the main database.

If you know the data type that the new condition works with, create the condition using the CreateWhereCondition method. You can also set the data source manually through the DataSourceName property.

See Also