TObjectSet class offers a container to hold DataObject, further more it offers some functions to manage DataObject conveniently as follows:
|
Methods or properties |
description |
|
public property
Objects[Index: Integer]: |
DataObject index |
|
public function Add(...): Integer; |
Add DataObject |
|
public procedure Insert(...); |
Insert DataObject |
|
public procedure Remove(...); |
Remove DataObject |
|
public bool Contains(...); |
Whether contain DataObject |
|
public function IndexOf(...): Integer; |
Index the position of DataObject appointed |
|
public function Clone: TObjectSet |
Clone object-set |
|
public procedure MergeWith(...); |
Combine object-set |
|
public function GetSubSet(...): TObjectSet; |
Get sub set |
|
public function Find(...): TDataObjectBase; |
Find DataObject |
|
public procedure Sort(...); |
sort |
|
public function UpdateMatch(...): Integer; |
Update DataObject in batches |
|
public function DeleteMatch(...): Integer; |
Delete DataObject in batches |
|
public function RemoveMatch(...): Integer; |
Remove DataObject in batches |
Related Topics