Compartir a través de


OleDbFactory.CreateCommandBuilder Método

Definición

Devuelve una instancia de DbCommandBuilder fuertemente 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

Devoluciones

Una nueva instancia de DbCommandBuilder fuertemente tipada.

Ejemplos

El fragmento de código siguiente devuelve una instancia fuertemente tipada DbCommandBuilder :

Dim newFactory As OleDbFactory = OleDbFactory.Instance
Dim cmd As DbCommandBuilder = newFactory.CreateCommandBuilder()
OleDbFactory newFactory = OleDbFactory.Instance;
DbCommandBuilder cmd = newFactory.CreateCommandBuilder();

Se aplica a