Table of Contents

TColumn.DefineReferencedCol Method

Copies the data type, length, precision, and scale from a referenced column into this column, and sets ReferencedColumn to RefCol.

Remarks

Used when a foreign-key column must mirror the type information of the primary-key column it references. If RefCol is nil the method does nothing.

Syntax

Unit: Aurelius.Mapping.Metadata

procedure TColumn.DefineReferencedCol(RefCol: TColumn);

Parameters

<-> Parameter Type Description
RefCol TColumn The column whose type information will be copied. May be nil.

See also