FireDAC.Stan.Option.TFDFetchGeneratorsPoint
Delphi
TFDFetchGeneratorsPoint = (gpNone, gpImmediate, gpDeferred);
C++
enum DECLSPEC_DENUM TFDFetchGeneratorsPoint : unsigned int { gpNone, gpImmediate, gpDeferred };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | FireDAC.Stan.Option |
Description
Specifies the moment when the next generator value will be fetched from a database and assigned to an auto-incrementing field.
| Name | Description |
|---|---|
| gpNone | Do not fetch generator values. |
| gpImmediate | Fetch values right after beginning to append a new record. Normally this is TDataSet.Insert or Append methods. |
| gpDeferred | Fetch values right before posting a new record to a database. Normally this is TDataSet.Post or ApplyUpdates. |