Comparteix a través de


OracleClientFactory.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 ();
override this.CreateDataAdapter : unit -> System.Data.Common.DbDataAdapter
Public Overrides Function CreateDataAdapter () As DbDataAdapter

Devoluciones

Nueva instancia de DbDataAdapter fuertemente tipada.

Ejemplos

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

Dim newFactory As OracleClientFactory = OracleClientFactory.Instance  
Dim dataAdapter As DbDataAdapter = newFactory.CreateDataAdapter()  
OracleClientFactory newFactory = OracleClientFactory.Instance;  
DbDataAdapter dataAdapter = newFactory.CreateDataAdapter();  

Se aplica a