Compartilhar via


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

Aplica-se a