Click or drag to resize
WhereCondition Constructor (IWhereCondition)
Constructor

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public WhereCondition(
	params IWhereCondition[] conditions
)

Parameters

conditions
Type: CMS.DataEngineIWhereCondition
Creates a where condition from the given where conditions
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