DbParameter.SourceVersion Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the DataRowVersion to use when you load Value.
public:
virtual property System::Data::DataRowVersion SourceVersion { System::Data::DataRowVersion get(); void set(System::Data::DataRowVersion value); };
public:
abstract property System::Data::DataRowVersion SourceVersion { System::Data::DataRowVersion get(); void set(System::Data::DataRowVersion value); };
public virtual System.Data.DataRowVersion SourceVersion { get; set; }
public abstract System.Data.DataRowVersion SourceVersion { get; set; }
member this.SourceVersion : System.Data.DataRowVersion with get, set
Public Overridable Property SourceVersion As DataRowVersion
Public MustOverride Property SourceVersion As DataRowVersion
One of the DataRowVersion values. The default is Current
.
The property is not set to one of the DataRowVersion values.
Used by UpdateCommand during an Update operation to determine whether the parameter value is set to Current
or Original
. This lets primary keys be updated. This property is set to the version of the DataRow used by the DataRow.Item
property, or the GetChildRows method of the DataRow object.
Продукт | Версії |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: