Compartilhar via


OdbcFactory.CreateCommandBuilder Método

Definição

Retorna uma instância de 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 OdbcFactory = OdbcFactory.Instance
Dim cmd As DbCommandBuilder = newFactory.CreateCommandBuilder()
OdbcFactory newFactory = OdbcFactory.Instance;
DbCommandBuilder cmd = newFactory.CreateCommandBuilder();

Aplica-se a