OracleRowUpdatingEventArgs Class

The OracleRowUpdatingEventArgs class provides event data for the OracleDataAdapter.RowUpdating event.

Class Inheritance

System.Object

  System.EventArgs

    System.RowUpdatingEventArgs

      System.OracleRowUpdatingEventArgs

Declaration

// C#
public sealed class OracleRowUpdatingEventArgs : RowUpdatingEventArgs

Thread Safety

All public static methods are thread-safe, although instance methods do not guarantee thread safety.

Example

The example for the RowUpdated event shows how to use OracleRowUpdatingEventArgs. See RowUpdated event "Example".

Requirements

Namespace: Oracle.DataAccess.Client

Assembly: Oracle.DataAccess.dll

ODP.NET Version: ODP.NET for .NET Framework 2.0 or ODP.NET for .NET Framework 4


OracleRowUpdatingEventArgs Members

OracleRowUpdatingEventArgs members are listed in the following tables.

OracleRowUpdatingEventArgs Constructors

OracleRowUpdatingEventArgs constructors are listed in Table 5-108.

Table 5-108 OracleRowUpdatingEventArgs Constructors

Constructor Description

OracleRowUpdatingEventArgs Constructor

Instantiates a new instance of OracleRowUpdatingEventArgs class (Overloaded)


OracleRowUpdatingEventArgs Static Methods

The OracleRowUpdatingEventArgs static methods are listed in Table 5-109.

Table 5-109 OracleRowUpdatingEventArgs Static Methods

Method Description

Equals

Inherited from System.Object (Overloaded)


OracleRowUpdatingEventArgs Properties

The OracleRowUpdatingEventArgs properties are listed in Table 5-110.

Table 5-110 OracleRowUpdatingEventArgs Properties

Property Description

Command

Specifies the OracleCommand that is used when the OracleDataAdapter.Update() is called

Errors

Inherited from System.Data.Common.RowUpdatingEventArgs

Row

Inherited from System.Data.Common.RowUpdatingEventArgs

StatementType

Inherited from System.Data.Common.RowUpdatingEventArgs

Status

Inherited from System.Data.Common.RowUpdatingEventArgs

TableMapping

Inherited from System.Data.Common.RowUpdatingEventArgs


OracleRowUpdatingEventArgs Public Methods

The OracleRowUpdatingEventArgs public methods are listed in Table 5-111.

Table 5-111 OracleRowUpdatingEventArgs Public Methods

Public Method Description

Equals

Inherited from System.Object (Overloaded)

GetHashCode

Inherited from System.Object

GetType

Inherited from System.Object

ToString

Inherited from System.Object



OracleRowUpdatingEventArgs Constructor

The OracleRowUpdatingEventArgs constructor creates a new instance of the OracleRowUpdatingEventArgs class using the supplied data row, IDbCommand, type of SQL statement, and table mapping.

Declaration

// C#
public OracleRowUpdatingEventArgs(DataRow row, IDbCommand command, 
    StatementType statementType, DataTableMapping tableMapping);

Parameters

  • row

    The DataRow sent for Update.

  • command

    The IDbCommand executed during the Update.

  • statementType

    The StatementType enumeration value indicating the type of SQL statement executed.

  • tableMapping

    The DataTableMapping used for the Update.


OracleRowUpdatingEventArgs Static Methods

The OracleRowUpdatingEventArgs static method is listed in Table 5-112.

Table 5-112 OracleRowUpdatingEventArgs Static Method

Method Description

Equals

Inherited from System.Object (Overloaded)



OracleRowUpdatingEventArgs Properties

The OracleRowUpdatingEventArgs properties are listed in Table 5-113.

Table 5-113 OracleRowUpdatingEventArgs Properties

Property Description

Command

Specifies the OracleCommand that is used when the OracleDataAdapter.Update() is called

Errors

Inherited from System.Data.Common.RowUpdatingEventArgs

Row

Inherited from System.Data.Common.RowUpdatingEventArgs

StatementType

Inherited from System.Data.Common.RowUpdatingEventArgs

Status

Inherited from System.Data.Common.RowUpdatingEventArgs

TableMapping

Inherited from System.Data.Common.RowUpdatingEventArgs


Command

This property specifies the OracleCommand that is used when the OracleDataAdapter.Update() is called.

Declaration

// C#
public new OracleCommand Command {get; set;}

Property Value

The OracleCommand executed when Update is called.


OracleRowUpdatingEventArgs Public Methods

The OracleRowUpdatingEventArgs public methods are listed in Table 5-114.

Table 5-114 OracleRowUpdatingEventArgs Public Methods

Public Method Description

Equals

Inherited from System.Object (Overloaded)

GetHashCode

Inherited from System.Object

GetType

Inherited from System.Object

ToString

Inherited from System.Object