BaseInfoGetDependentObjectsWhereConditions Method |
Returns dictionary collection of where conditions selecting dependent objects for each dependent type.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax protected Dictionary<string, ICollection<WhereCondition>> GetDependentObjectsWhereConditions(
bool getAllRecursively,
IWhereCondition baseWhere
)
Parameters
- getAllRecursively
- Type: SystemBoolean
When true all dependent types in object hierarchy are returned, otherwise returns only the direct dependent types. - baseWhere
- Type: CMS.DataEngineIWhereCondition
Where condition selecting dependency objects. If null, current (this) instance of BaseInfo is the only dependency.
Return Value
Type:
DictionaryString,
ICollectionWhereConditionRemarks
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