InfoObjectRepositoryAddCollectionCollectionType Method (String, String, String, String, Int32, String) |
Registers the given collection of objects within the repository.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax public InfoCollectionSettings AddCollection<CollectionType>(
string name,
string objectType,
string where,
string orderBy,
int topN,
string columns
)
where CollectionType : new(), InfoObjectCollection
Parameters
- name
- Type: SystemString
Collection name - objectType
- Type: SystemString
Object type - where
- Type: SystemString
Where - orderBy
- Type: SystemString
Order by - topN
- Type: SystemInt32
Top N - columns
- Type: SystemString
Columns
Type Parameters
- CollectionType
Return Value
Type:
InfoCollectionSettingsSee Also