SqlClientFactory.CreateDataAdapter Método

Definição

Retorna uma instância 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 SqlClientFactory = SqlClientFactory.Instance
Dim cmd As DbDataAdapter = newFactory.CreateDataAdapter()
SqlClientFactory newFactory = SqlClientFactory.Instance;
DbDataAdapter cmd = newFactory.CreateDataAdapter();

Aplica-se a

Confira também