Skip Headers
Oracle® Data Provider for .NET Developer's Guide
12c Release 1 (12.1.0.1.0)

Part Number E41125-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

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

Requirements

Provider ODP.NET, Unmanaged Driver ODP.NET, Managed Driver
Assembly Oracle.DataAccess.dll Oracle.ManagedDataAccess.dll
Namespace Oracle.DataAccess.Client Oracle.ManagedDataAccess.Client
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5 4.0, 4.5

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".


OracleRowUpdatingEventArgs Members

OracleRowUpdatingEventArgs members are listed in the following tables.

OracleRowUpdatingEventArgs Constructors

OracleRowUpdatingEventArgs constructors are listed in Table 5-110.

Table 5-110 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-111.

Table 5-111 OracleRowUpdatingEventArgs Static Methods

Method Description

Equals

Inherited from System.Object (Overloaded)


OracleRowUpdatingEventArgs Properties

The OracleRowUpdatingEventArgs properties are listed in Table 5-112.

Table 5-112 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-113.

Table 5-113 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-114.

Table 5-114 OracleRowUpdatingEventArgs Static Method

Method Description

Equals

Inherited from System.Object (Overloaded)



OracleRowUpdatingEventArgs Properties

The OracleRowUpdatingEventArgs properties are listed in Table 5-115.

Table 5-115 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-116.

Table 5-116 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