Partilhar via


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 ();
abstract member CreateCommandBuilder : unit -> System.Data.Common.DbCommandBuilder
override this.CreateCommandBuilder : unit -> System.Data.Common.DbCommandBuilder
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 :

SqlClientFactory newFactory = SqlClientFactory.Instance;
DbCommandBuilder cmd = newFactory.CreateCommandBuilder();

Aplica-se a