ObjectGears Help

           
Forum   ObjectGears (Version: 1.6.0.0)

OG data type - DataRowList

This object is a list of objects DataRow.

Object properties

All the functions refer to the list of objects on which the function is called.

 

Name Description
DataRow GetById(int? id) Function returns data record according to the input Id.
void RemoveById(int id, bool duplicityId) Method remove record of the input Id from the list. If duplicityId = False is set, then the method is termindated with the first found record with the input Id. If you expect records with duplicate Id in the list, then set duplicityId = True.
List<int> GetIds() Function returns list of Id of all the records in the list. If there are records with duplicate Id in the list, then these duplicate Id will be also in the returned list.
int GetMaxId() Function returns maximal Id included in the list. If the list does not contain any record, then -1 is returned.
int GetMinId() Function returns minimal Id included in the list. If the list does not contain any record, then -1 is returned.

 

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