BaseInfo AddDependencyDefaultDataWhereCondition Method Kentico 8.1 API Reference
Adds default data where condition of given dependency on given dependencyIDColumn to given where condition. Returns original where condition if no such dependency exists.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

where
Type: OnlineSystem String
Original where condition
dependencyInfo
Type: CMS.DataEngine BaseInfo
BaseInfo of dependency object type.
dependencyIDColumn
Type: OnlineSystem String
Column with ID to specified dependency object.
recursive
Type: OnlineSystem Boolean
Indicates whether added dependency where condition should process its dependencies
op (Optional)
Type: OnlineSystem String
Operator used to connect old where with the new one. By default this is 'AND'.
dependencyTargetIDColumn (Optional)
Type: OnlineSystem String
Name of the column on dependency target object that contains dependency ID. By default ID column of the target object is used.

Return Value

Type: OnlineString
See Also