Click or drag to resize
BaseInfoGetDependentObjectsWhereConditions Method
Returns dictionary collection of where conditions selecting dependent objects for each dependent type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
protected Dictionary<string, ICollection<WhereCondition>> GetDependentObjectsWhereConditions(
	bool getAllRecursively,
	IWhereCondition baseWhere


Type: SystemBoolean
When true all dependent types in object hierarchy are returned, otherwise returns only the direct dependent types.
Type: CMS.DataEngineIWhereCondition
Where condition selecting dependency objects. If null, current (this) instance of BaseInfo is the only dependency.

Return Value

Type: DictionaryString, ICollectionWhereCondition
Dependent object types consists of types defined in DependsOn property, and child types. In case that current object type represents site or group, then also site or group objects are included. If current object has ObjectPathColumn defined, then also objects of same type with sub path are included.
See Also