Compartilhar via


OracleClientFactory.CreateCommandBuilder Método

Definição

Retorna uma instância DbCommandBuilder fortemente tipada.

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

Retornos

Uma nova instância fortemente tipada de DbCommandBuilder.

Exemplos

O fragmento de código a seguir retorna uma instância fortemente tipada DbCommandBuilder .

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

Aplica-se a