Name

DataRowVersion

Synopsis

This enumeration represents the different versions of a DataRow. You can access this enumeration with the indexer for the DataRow class. For example:

Console.Write(row["ID", DataRowVersion.Original]);

displays the original value of a row, which is the value retrieved from the data source. The Proposed value contains a value while the row is in edit mode (after DataRow.BeginEdit( ) has been called, or when a DataTable edit event is fired).

public enum DataRowVersion {

   Original = 256,

   Current = 512,

   Proposed = 1024,

   Default = 1536

}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) DataRowVersion

Returned By

DataRowView.RowVersion, IDataParameter.SourceVersion, System.Data.OleDb.OleDbPar-ameter.SourceVersion, System.Data.OracleClient.OracleParameter.SourceVersion, System.Data.SqlClient.SqlParameter.SourceVersion

Passed To

Multiple types

Get ADO.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.