SourceVersion property

Description

The DataRowVersion to use when loading Value.

Syntax

DataRowVersion SourceVersion

Access

Read-write

Implements

IDbDataParameter.SourceVersion

Usage

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 InsertCommand and DeleteCommand. This property is set to the version of the DataRow used by the Item property, or the GetChildRows method of the DataRow object.