Google.Cloud.Spanner.Data - Class SpannerRowUpdatingEventArgs (5.0.0-beta02)

public sealed class SpannerRowUpdatingEventArgs : RowUpdatingEventArgs

Reference documentation and code samples for the Google.Cloud.Spanner.Data class SpannerRowUpdatingEventArgs.

Provides data for the RowUpdating event of the Spanner data provider.

Inheritance

object > EventArgs > RowUpdatingEventArgs > SpannerRowUpdatingEventArgs

Namespace

Google.Cloud.Spanner.Data

Assembly

Google.Cloud.Spanner.Data.dll

Constructors

SpannerRowUpdatingEventArgs(DataRow, IDbCommand, StatementType, DataTableMapping)

public SpannerRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)

Initializes a new instance of the SpannerRowUpdatingEventArgs class.

Parameters
NameDescription
rowDataRow

The DataRow sent through an Update. Must not be null.

commandIDbCommand

The SpannerCommand executed when Update is called. May be null.

statementTypeStatementType

The type of SQL statement executed.

tableMappingDataTableMapping

The DataTableMapping sent through an Update. May be null.

Properties

Command

public SpannerCommand Command { get; }

Gets the SpannerCommand executed when Update is called.

Property Value
TypeDescription
SpannerCommand