Compartir a través de


OleDbFactory.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 OleDbFactory = OleDbFactory.Instance
Dim cmd As DbDataAdapter = newFactory.CreateDataAdapter()
OleDbFactory newFactory = OleDbFactory.Instance;
DbDataAdapter cmd = newFactory.CreateDataAdapter();

Se aplica a