ObjectGears Help

           
Forum   ObjectGears (Version: 1.6.0.0)

Data type OG - DataRowFileList

This objekt is list of objects DataRowFile.

Object properties

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

Name Description
DataRowFile GetById(int? id) Function returns record according to the input Id.
void RemoveById(int id, bool duplicityId) Method removes from the list record with the given Id. If duplicityId = False, than the method is terminated after the first found record with the searched Id. If you expect records with duplicite Id, than set duplicityId = True.
List<int> GetIds() Function returns list of Id of all the records in the list. If there are records with duplicite Id in the list, than there will be duplicities also in the returned list of Id.
int GetMaxId() Function returns maximal Id contained in the list. If the list does not contain any record, than -1 is returned.
int GetMinId() Function returns minimal Id contained in the list. If the list does not contain any record, than -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