Click or drag to resize
ObjectTypeInfoGetDependencyWhereCondition Method
Gets the where condition to limit the objects to specific dependencies.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public WhereCondition GetDependencyWhereCondition(
	string dependencyType,
	string op,
	params Tuple<string, Nullable<int>>[] dependencies
)

Parameters

dependencyType
Type: SystemString
Dependency object type name
op
Type: SystemString
Operator
dependencies
Type: SystemTupleString, NullableInt32
Pairs of dependencies to filter by (first item in each pair - dependency object type, second item in each pair - dependency value)

Return Value

Type: WhereCondition
Exceptions
ExceptionCondition
ObjectTypeColumnNotFoundExceptionIf dependency column is not found by object type
See Also