Partilhar via


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

Aplica-se a