Data.DB.TFieldDef.Create
[–] Properties | |
---|---|
Type: constructor | |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TFieldDef |
Delphi
constructor Create(Owner: TFieldDefs; const Name: string;
DataType: TFieldType; Size: Integer; Required: Boolean; FieldNo: Integer); reintroduce; overload; virtual;
C++
__fastcall virtual TFieldDef(TFieldDefs* Owner, const System::UnicodeString Name, TFieldType DataType, int Size, bool Required, int FieldNo)/* overload */;
Description
Creates and initializes a TFieldDef instance.
Applications should not call Create directly. A TFieldDef is created automatically by the dataset for each field in an already existing table. When composing field definitions preparatory to creating a new dataset, the TFieldDefs.AddFieldDef method (or the older TFieldDefs.Add method) creates the needed instance of TFieldDef.
See Also