[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Collection of #fcl.db.TField instances.
Source position: db.pas line 1336
type TFields = class(TObject) |
||
public |
||
constructor Create(); |
|
Create a new instance of TFields. |
destructor Destroy; override; |
|
Free the TFields instance. |
procedure Add(); |
|
Add a new field to the list. |
procedure CheckFieldName(); |
|
Check field name for duplicate entries. |
procedure CheckFieldNames(); |
|
Check a list of field names for duplicate entries. |
procedure Clear; |
|
Clear the list of fields. |
function FindField(); |
|
Find a field based on its name. |
function FieldByName(); |
|
Find a field based on its name. |
function FieldByNumber(); |
|
Search field based on its fieldnumber. |
function GetEnumerator; |
|
Return an enumerator for the for..in construct. |
procedure GetFieldNames(); |
|
Get the list of fieldnames. |
function IndexOf(); |
|
Return the index of a field instance. |
procedure Remove(); |
|
Remove an instance from the list. |
|
Number of fields in the list. |
|
|
Dataset the fields belong to. |
|
|
Indexed access to the fields in the list. |
|
end; |
|
Collection of #fcl.db.TField instances. |
|
| | ||
TObject |
TFields mimics a TCollection class for the Fields property of TDataset instance. Since TField is a descendent of TComponent, it cannot be an item of a collection, and must be managed by another class.
|
Provide access to the contents of a single field in a record. |
|
|
Base class for records-based data-access. |
|
|
Indexed access to the fields of the dataset. |