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

Aplica-se a