# Google.Cloud.Spanner.Data - Class SpannerRowUpdatingEventArgs (5.13.0-beta07)

5.13.0-beta07 5.13.0-beta06 5.12.0 (latest) 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.15.1 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0

    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](https://learn.microsoft.com/dotnet/api/system.object) \> [EventArgs](https://learn.microsoft.com/dotnet/api/system.eventargs) \> [RowUpdatingEventArgs](https://learn.microsoft.com/dotnet/api/system.data.common.rowupdatingeventargs) \> SpannerRowUpdatingEventArgs

## Inherited Members

[RowUpdatingEventArgs.Errors](https://learn.microsoft.com/dotnet/api/system.data.common.rowupdatingeventargs.errors) [RowUpdatingEventArgs.Row](https://learn.microsoft.com/dotnet/api/system.data.common.rowupdatingeventargs.row) [RowUpdatingEventArgs.StatementType](https://learn.microsoft.com/dotnet/api/system.data.common.rowupdatingeventargs.statementtype) [RowUpdatingEventArgs.Status](https://learn.microsoft.com/dotnet/api/system.data.common.rowupdatingeventargs.status) [RowUpdatingEventArgs.TableMapping](https://learn.microsoft.com/dotnet/api/system.data.common.rowupdatingeventargs.tablemapping) [EventArgs.Empty](https://learn.microsoft.com/dotnet/api/system.eventargs.empty) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Spanner.Data](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Spanner.Data/latest/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](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Spanner.Data/latest/Google.Cloud.Spanner.Data.SpannerRowUpdatingEventArgs) class.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `row` | `https://learn.microsoft.com/dotnet/api/system.data.datarow` The DataRow sent through an Update. Must not be null. |
| `command` | `https://learn.microsoft.com/dotnet/api/system.data.idbcommand` The [SpannerCommand](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Spanner.Data/latest/Google.Cloud.Spanner.Data.SpannerCommand) executed when Update is called. May be null. |
| `statementType` | `https://learn.microsoft.com/dotnet/api/system.data.statementtype` The type of SQL statement executed. |
| `tableMapping` | `https://learn.microsoft.com/dotnet/api/system.data.common.datatablemapping` The DataTableMapping sent through an Update. May be null. |

## Properties

### Command

    public SpannerCommand Command { get; }

Gets the [SpannerCommand](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Spanner.Data/latest/Google.Cloud.Spanner.Data.SpannerCommand) executed when Update is called.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Spanner.Data/latest/Google.Cloud.Spanner.Data.SpannerCommand` |   |