WhereCondition Constructor (String, QueryOperator, Object) |
Namespace: CMS.DataEngine
public WhereCondition( string columnName, QueryOperator op, Object value )
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.