Redigera

Dela via


OracleCommandBuilder.DataAdapter Property

Definition

Gets or sets an OracleDataAdapter object for which this OracleCommandBuilder object will generate SQL statements.

public:
 property System::Data::OracleClient::OracleDataAdapter ^ DataAdapter { System::Data::OracleClient::OracleDataAdapter ^ get(); void set(System::Data::OracleClient::OracleDataAdapter ^ value); };
public System.Data.OracleClient.OracleDataAdapter DataAdapter { get; set; }
member this.DataAdapter : System.Data.OracleClient.OracleDataAdapter with get, set
Public Property DataAdapter As OracleDataAdapter

Property Value

An OracleDataAdapter object that is associated 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