Class SpannerRowUpdatingEventArgs (3.11.0)

public sealed class SpannerRowUpdatingEventArgs : RowUpdatingEventArgs

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