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.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- where
- Type:
System String
Original where condition
- dependencyInfo
- Type: CMS.DataEngine BaseInfo
BaseInfo of dependency object type.
- dependencyIDColumn
- Type:
System String
Column with ID to specified dependency object.
- recursive
- Type:
System Boolean
Indicates whether added dependency where condition should process its dependencies
- op (Optional)
- Type:
System String
Operator used to connect old where with the new one. By default this is 'AND'.
- dependencyTargetIDColumn (Optional)
- Type:
System 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:![Online Online](./../icons/online_icon.gif)
See Also