Table of Contents

TDBFieldDef.Create Constructor

Creates a TDBFieldDef with the specified column attributes.

Syntax

Unit: Aurelius.Drivers.Interfaces

constructor TDBFieldDef.Create(const AName: string; ADataType: TFieldType; ASize: Integer; ARequired: Boolean = False; APrecision: Integer = 0);

Parameters

<-> Parameter Type Description
const AName string The column name.
ADataType TFieldType The Delphi field type of the column.
ASize Integer The maximum size (length) of the column value.
ARequired Boolean Optional: Default value is False

When True, the column does not accept NULL values.
APrecision Integer Optional: Default value is 0

The numeric precision for fixed-point or floating-point columns.

See also