Partilhar via


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 ();
abstract member CreateDataAdapter : unit -> System.Data.Common.DbDataAdapter
override this.CreateDataAdapter : unit -> System.Data.Common.DbDataAdapter
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 :

SqlClientFactory newFactory = SqlClientFactory.Instance;
DbDataAdapter cmd = newFactory.CreateDataAdapter();

Aplica-se a