OdbcCommandBuilder.DataAdapter Propiedad

Definición

Obtiene o establece un objeto OdbcDataAdapter para el que este objeto OdbcCommandBuilder va a generar instrucciones SQL.Gets or sets an OdbcDataAdapter object for which this OdbcCommandBuilder object will generate SQL statements.

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

Valor de propiedad

OdbcDataAdapter

Objeto OdbcDataAdapter asociado a OdbcCommandBuilder.An OdbcDataAdapter object that is associated with this OdbcCommandBuilder.

Comentarios

OdbcCommandBuilderSe registra a sí mismo como un agente de escucha para RowUpdating los eventos generados por el OdbcDataAdapter especificado en esta propiedad.The OdbcCommandBuilder registers itself as a listener for RowUpdating events that are generated by the OdbcDataAdapter specified in this property.

Cuando se crea una nueva instancia de OdbcCommandBuilder , se libera cualquier objeto existente OdbcCommandBuilder asociado a este OdbcDataAdapter .When you create a new instance of OdbcCommandBuilder, any existing OdbcCommandBuilder associated with this OdbcDataAdapter is released.

Se aplica a