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

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
Name Description
row DataRow

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

command IDbCommand

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

statementType StatementType

The type of SQL statement executed.

tableMapping DataTableMapping

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
Type Description
SpannerCommand