Compartir a través de


SqlClientFactory.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 ();
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

Devoluciones

Nueva instancia fuertemente tipada de DbCommandBuilder .

Ejemplos

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

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

Se aplica a