Condividi tramite


OracleClientFactory.CreateCommandBuilder Metodo

Definizione

Restituisce un'istanza di DbCommandBuilder fortemente tipizzata.

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

Restituisce

Nuova istanza fortemente tipizzata dell'oggetto DbCommandBuilder.

Esempio

Il frammento di codice seguente restituisce un'istanza fortemente tipizzata DbCommandBuilder .

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

Si applica a