FireDAC.Comp.DataSet.TFDAutoIncField.GeneratorName

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDAutoIncField

Delphi

property GeneratorName: String read FGeneratorName

C++

__property System::UnicodeString GeneratorName = {read=FGeneratorName, write=FGeneratorName};

Description

Specifies the name of a sequence or generator for the field.

Set the GeneratorName property to a name of a sequence or generator and the dataset automatically fetches a next value and assigns it to the column of a new dataset record. 

If GeneratorName is not specified, the dataset takes its value from UpdateOptions.GeneratorName. The UpdateOptions.FetchGeneratorsPoint property controls when a value is assigned. See its description for more details.

See Also