Redigera

Dela via


OracleCommandBuilder Constructors

Definition

Initializes a new instance of the OracleCommandBuilder.

Overloads

OracleCommandBuilder()

Initializes a new instance of the OracleCommandBuilder.

OracleCommandBuilder(OracleDataAdapter)

Initializes a new instance of the OracleCommandBuilder class with the associated OracleDataAdapter object.

OracleCommandBuilder()

Initializes a new instance of the OracleCommandBuilder.

public:
 OracleCommandBuilder();
public OracleCommandBuilder ();
Public Sub New ()

Remarks

The OracleCommandBuilder registers itself as a listener for RowUpdating events that are generated by the OracleDataAdapter specified in this property.

When you create a new instance of OracleCommandBuilder, any existing OracleCommandBuilder associated with this OracleDataAdapter is released.

Applies to

OracleCommandBuilder(OracleDataAdapter)

Initializes a new instance of the OracleCommandBuilder class with the associated OracleDataAdapter object.

public:
 OracleCommandBuilder(System::Data::OracleClient::OracleDataAdapter ^ adapter);
public OracleCommandBuilder (System.Data.OracleClient.OracleDataAdapter adapter);
new System.Data.OracleClient.OracleCommandBuilder : System.Data.OracleClient.OracleDataAdapter -> System.Data.OracleClient.OracleCommandBuilder
Public Sub New (adapter As OracleDataAdapter)

Parameters

adapter
OracleDataAdapter

An OracleDataAdapter object to associate with this OracleCommandBuilder.

Remarks

The OracleCommandBuilder registers itself as a listener for RowUpdating events that are generated by the OracleDataAdapter specified in this property.

When you create a new instance of OracleCommandBuilder, any existing OracleCommandBuilder associated with this OracleDataAdapter is released.

Applies to