Partager via


OracleClientFactory.CreateCommandBuilder Méthode

Définition

Retourne une instance de DbCommandBuilder fortement typée.

public:
 override System::Data::Common::DbCommandBuilder ^ CreateCommandBuilder();
public override System.Data.Common.DbCommandBuilder CreateCommandBuilder ();
override this.CreateCommandBuilder : unit -> System.Data.Common.DbCommandBuilder
Public Overrides Function CreateCommandBuilder () As DbCommandBuilder

Retours

Nouvelle instance fortement typée de DbCommandBuilder.

Exemples

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

Dim newFactory As OracleClientFactory = OracleClientFactory.Instance  
Dim commandBuilder As DbCommandBuilder = newFactory.CreateCommandBuilder()  
OracleClientFactory newFactory = OracleClientFactory.Instance;  
DbCommandBuilder commandBuilder = newFactory.CreateCommandBuilder();  

S’applique à