ObjectGears Help

           
Forum   ObjectGears (Version: 1.6.0.0)

OG data type - ColumnClassDefList

This object is list of objects ColumnClassDef.

Object properties

All functions relate to the list of objects, over which the function is called.

Name Description
ColumnClassDefList GetByIds(List<int> ids) Function returns list of columns according to defined IDs.
ColumnClassDef GetColumnByCode(string columnCode) Function returns the first column of the input code. Case of the code characters is ignored.
ColumnClassDef GetColumnByCode(int parentId, string columnCode)

Function returns column according to the input code and parent object ID. Case of the code characters is ignored.
Function is suitable for going through columns of class that that uses inheritance. Only columns belonging to the input parent object are searched.

void DeleteSystemColumns() Function deletes all the system columns from the list.
void DeleteColumnsByType(ColumnType columnType) Function deletes columns of the input type from the list.
void DeleteColumnsWithNotType(params ColumnType[] columnTypes) Function deletes columns columns except for input column types from the list.
ColumnClassDefList GetByType(ColumnType type) Function returns list of columns according to the input type.
void SortByName() Method sorts the columns according to the name. Use the method only for your column collections, not for collections returned by OG system.

Warning

Do not delete nor change the order in the list of objects returned by ObjectGears system. These objects are cached and you can violate stability of the whole system by their change.

This website is using cookies files to provide services and analyse visits. You agree with that by using this website.     Further information