PgDAC

TPgDataSetOptions Properties

Properties of the TPgDataSetOptions class.

For a complete list of the TPgDataSetOptions class members, see the TPgDataSetOptions Members topic.

Public

Name Description

AutoPrepare (inherited from TDADataSetOptions)

Used to execute automatic TCustomDADataSet.Prepare on the query execution.

CacheCalcFields (inherited from TDADataSetOptions)

Used to enable caching of the TField.Calculated and TField.Lookup fields.

CompressBlobMode (inherited from TDADataSetOptions)

Used to store values of the BLOB fields in compressed form.

DefaultValues (inherited from TDADataSetOptions)

Used to request default values/expressions from the server and assign them to the DefaultExpression property.

DetailDelay (inherited from TDADataSetOptions)

Used to get or set a delay in milliseconds before refreshing detail dataset while navigating master dataset.

FieldsOrigin (inherited from TDADataSetOptions)

Used for TCustomDADataSet to fill the Origin property of the TField objects by appropriate value when opening a dataset.

FlatBuffers (inherited from TDADataSetOptions)

Used to control how a dataset treats data of the ftString and ftVarBytes fields.

InsertAllSetFields (inherited from TDADataSetOptions)

Used to include all set dataset fields in the generated INSERT statement

LocalMasterDetail (inherited from TDADataSetOptions)

Used for TCustomDADataSet to use local filtering to establish master/detail relationship for detail dataset and does not refer to the server.

LongStrings (inherited from TDADataSetOptions)

Used to represent string fields with the length that is greater than 255 as TStringField.

MasterFieldsNullable (inherited from TDADataSetOptions)

Allows to use NULL values in the fields by which the relation is built, when generating the query for the Detail tables (when this option is enabled, the performance can get worse).

NumberRange (inherited from TDADataSetOptions)

Used to set the MaxValue and MinValue properties of TIntegerField and TFloatField to appropriate values.

QueryRecCount (inherited from TDADataSetOptions)

Used for TCustomDADataSet to perform additional query to get the record count for this SELECT, so the RecordCount property reflects the actual number of records.

QuoteNames (inherited from TDADataSetOptions)

Used for TCustomDADataSet to quote all database object names in autogenerated SQL statements such as update SQL.

RemoveOnRefresh (inherited from TDADataSetOptions)

Used for a dataset to locally remove a record that can not be found on the server.

RequiredFields (inherited from TDADataSetOptions)

Used for TCustomDADataSet to set the Required property of the TField objects for the NOT NULL fields.

ReturnParams (inherited from TDADataSetOptions)

Used to return the new value of fields to dataset after insert or update.

SetFieldsReadOnly (inherited from TDADataSetOptions)

Used for a dataset to set the ReadOnly property to True for all fields that do not belong to UpdatingTable or can not be updated.

StrictUpdate (inherited from TDADataSetOptions)

Used for TCustomDADataSet to raise an exception when the number of updated or deleted records is not equal 1.

TrimFixedChar (inherited from TDADataSetOptions)

Specifies whether to discard all trailing spaces in the string fields of a dataset.

UpdateAllFields (inherited from TDADataSetOptions)

Used to include all dataset fields in the generated UPDATE and INSERT statements.

UpdateBatchSize (inherited from TDADataSetOptions)

Used to get or set a value that enables or disables batch processing support, and specifies the number of commands that can be executed in a batch.

Published

Name Description

AutoDeleteBlob

Used to delete large objects from the database automatically when a record is deleted from the dataset.

CacheBlobs

Used to allocate local memory buffer to hold a copy of the large object content.

CursorWithHold

Used to open query in the FetchAll=False mode without transaction.

DeferredBlobRead

Used to fetch values of large objects when they are explicitly requested.

DistinctParams

Used for correct TClientDataSet parameters handling.

EnableBCD

Used to enable currency type. Default value of this option is False.

EnableFMTBCD

Used to enable using FMTBCD instead of float for large integer numbers to keep precision.

ExtendedFieldsInfo

Used to perform an additional query to get information about returned fields and the tables they belong to.

FullRefresh

Used to specify the fields to include in the automatically generated SQL statement when calling the method.

OIDAsInt

Used to read OID fields as integer values and map these fields to TIntegerField.

PrepareUpdateSQL

Used to automatically prepare update queries before execution.

SetEmptyStrToNull

Force replace of empty strings with NULL values in data. The default value is False.

UnknownAsString

Used to map fields of unknown data types to TStringField (TWideStringField).

UnpreparedExecute

Used to apply simple executing to a SQL statement.

UseParamTypes

Used to disable automatic detection of the parameters data types.

See Also

© 1997-2020 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback