Partager via


OracleClientFactory.CreateDataAdapter Méthode

Définition

Retourne une instance de DbDataAdapter fortement typée.

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

Retours

Nouvelle instance fortement typée de DbDataAdapter.

Exemples

Le fragment de code suivant retourne une instance fortement typée DbDataAdapter .

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

S’applique à