RAD Studio VCL Reference
|
Gets or sets the DataRowVersion to use when loading Value.
property SourceVersion: DataRowVersion;
__property DataRowVersion SourceVersion;
Use this property and the SourceColumn property when you are submitting pending changes to the database and you want to validate the version of the data in the target row. Used by UpdateCommand during an Update operation to determine whether the parameter value is set to Current or Original. This allows primary keys to be updated. This property is ignored by the InsertCommand and DeleteCommand properties. This property is set to the version of the DataRow used by the Item property or the GetChildRows method of the DataRow object.
The following table lists the allowable SourceVersion values, which are DataRowVersion values.
Member |
Description |
Current |
Current value of the column. Default. |
Default |
Uses the DefaultValue of the column. |
Original |
Original value of the column. |
Proposed |
Uses a Proposed value. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|