Click or drag to resize
InfoObjectRepositoryAddCollectionCollectionType Method (String, String, WhereCondition, String, Int32, String)
Registers the given collection of objects within the repository.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public InfoCollectionSettings AddCollection<CollectionType>(
	string name,
	string objectType,
	WhereCondition where,
	string orderBy,
	int topN,
	string columns
)
where CollectionType : IInfoObjectCollection

Parameters

name
Type: SystemString
Collection name
objectType
Type: SystemString
Object type
where
Type: CMS.DataEngineWhereCondition
Where
orderBy
Type: SystemString
Order by
topN
Type: SystemInt32
Top N
columns
Type: SystemString
Columns

Type Parameters

CollectionType

Return Value

Type: InfoCollectionSettings
See Also