Connection
| Reference to the FDConnection object |
MasterSource
| If the dataset is to be used as detail to a master dataset, this property refers to the data source (TDataSource ) of the master set |
Transaction
| If specified, refers to the transaction within which the query will be executed. If not specified, the default transaction for the connection will be used. |
UpdateObject
| Reference to the FDUpdateSQL object providing for the dataset to be editable when the SELECT query does not meet the requirements for automatic generation of modification queries with UpdateOptions.RequestLive=True . |
UpdateTransaction
| The transaction within which modification queries will be executed. If the property is not specified the transaction from the Transaction property of the connection will be used. |
UpdateOptions.CheckRequired
| If set to True (the default) FireDac controls the Required property of the corresponding NOT NULL fields. If you keep it True and a field with the Required=True has no value assigned to it, an exception will be raised when the Post method is called. This might not be what you want if a value is going to be assigned to this field later in BEFORE triggers. |
UpdateOptions.EnableDelete
| Specifies whether a record can be deleted from the dataset. If EnableDelete=False , an exception will be raised when the Delete method is called. |
UpdateOptions.EnableInsert
| Specifies whether a record can be inserted into the dataset. If EnableInsert=False , an exception will be raised when the Insert /Append method is called. |
UpdateOptions.EnableUpdate
| Specifies whether a record can be edited in the dataset. If EnableUpdate=False , an exception will be raised when the Edit method is called. |
UpdateOptions.FetchGeneratorPoint
| Controls the moment when the next value is fetched from the generator specified in the UpdateOptions.GeneratorName property or in the GeneratorName property of the auto-incremental field AutoGenerateValue=arAutoInc . The default is gpDeferred , causing the next value to be fetched from the generator before a new record is posted in the database, i.e., during Post or ApplyUpdates . For the full set of possible values, see note (1) below. |
UpdateOptions.GeneratorName
| The name of the generator from which the next value for an auto-incremental field is to be fetched. |
UpdateOptions.ReadOnly
| Specifies whether it is a read-only dataset. The default value is False. If the value of this property is set to True, the EnableDelete , EnableInsert and EnableUpdate properties will be automatically set to False. |
UpdateOptions.RequestLive
| Setting RequestLive to True makes a query editable, if possible. Queries for insert, update and delete will be generated automatically. This setting imposes strict limitations on the SELECT query. It is supported for backward compatibility with the ancient BDE and is not recommended. |
UpdateOptions.UpdateMode
| Controls how to check whether a record has been modified. This property allows control over possible overwriting of updates in cases where one user is taking a long time to edit a record while another user has been editing the same record simultaneously and completes the update earlier. The default is upWhereKeyOnly . For information about the available modes, see note (2) below. |
CachedUpdates
| Specifies whether the dataset cache defers changes in the dataset buffer. If this property is set to True, any changes (Insert /Post , Update /Post , Delete ) are saved to a special log and the application must apply them explicitly by calling the ApplyUpdates method. All changes will be made within a small period of time and within one short transaction. The default value of this property is False. |
SQL
| Contains the text of the SQL query. If this property is a SELECT statement, execute it by calling the Open method. Use the Execute or ExecSQL for executing a statement that does not return a dataset. |