Compartir a través de


SqlClientFactory.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 ();
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

Devoluciones

Nueva instancia fuertemente tipada de DbDataAdapter .

Ejemplos

El fragmento de código siguiente devuelve una instancia fuertemente tipada DbDataAdapter :

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

Se aplica a