SqlClientFactory.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 SqlClientFactory = SqlClientFactory.Instance
Dim cmd As DbCommandBuilder = newFactory.CreateCommandBuilder()
SqlClientFactory newFactory = SqlClientFactory.Instance;
DbCommandBuilder cmd = newFactory.CreateCommandBuilder();

Aplica-se a

Confira também