Table of Contents

ColumnAttribute.Create Constructor

Overloads

ColumnAttribute.Create(string)

Creates a ColumnAttribute with the specified column name.

Syntax

Unit: Aurelius.Mapping.Attributes

constructor ColumnAttribute.Create(const Name: string);

Parameters

<-> Parameter Type Description
const Name string The name of the database column.

See also

ColumnAttribute.Create(string, TColumnProps, Integer)

Creates a ColumnAttribute with a column name, property flags, and string length.

Syntax

Unit: Aurelius.Mapping.Attributes

constructor ColumnAttribute.Create(const Name: string; Properties: TColumnProps; Length: Integer);

Parameters

<-> Parameter Type Description
const Name string The name of the database column.
Properties TColumnProps A set of TColumnProp flags.
Length Integer The maximum length for string columns (e.g., maps to VARCHAR(Length)).

See also

ColumnAttribute.Create(string, TColumnProps, Integer, Integer)

Creates a ColumnAttribute with a column name, property flags, and numeric precision/scale.

Syntax

Unit: Aurelius.Mapping.Attributes

constructor ColumnAttribute.Create(const Name: string; Properties: TColumnProps; Precision: Integer; Scale: Integer);

Parameters

<-> Parameter Type Description
const Name string The name of the database column.
Properties TColumnProps A set of TColumnProp flags.
Precision Integer The total number of significant digits for a numeric column.
Scale Integer The number of digits to the right of the decimal point.

See also