Partilhar via


OleDbFactory.CreateDataAdapter Método

Definição

Retorna uma instância de DbDataAdapter fortemente 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

Retornos

Uma nova instância fortemente tipada de DbDataAdapter.

Exemplos

O fragmento de código a seguir retorna uma instância fortemente tipada DbDataAdapter :

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

Aplica-se a