Compartir vía


OdbcFactory.CreateDataAdapter Método

Definición

Devuelve una instancia de DbDataAdapter fuertemente tipada.

public:
 override System::Data::Common::DbDataAdapter ^ CreateDataAdapter();
public override System.Data.Common.DbDataAdapter CreateDataAdapter ();
override this.CreateDataAdapter : unit -> System.Data.Common.DbDataAdapter
Public Overrides Function CreateDataAdapter () As DbDataAdapter

Devoluciones

Una nueva instancia de DbDataAdapter fuertemente tipada.

Ejemplos

El fragmento de código siguiente devuelve una instancia fuertemente tipada DbDataAdapter :

Dim newFactory As OdbcFactory = OdbcFactory.Instance
Dim cmd As DbDataAdapter = newFactory.CreateDataAdapter()
OdbcFactory newFactory = OdbcFactory.Instance;
DbDataAdapter cmd = newFactory.CreateDataAdapter();

Se aplica a