SqlClientFactory.CreateCommandBuilder Metodo

Definizione

Restituisce un'istanza di DbCommandBuilder fortemente tipizzata.

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

Restituisce

Nuova istanza fortemente tipizzata di DbCommandBuilder .

Esempio

Il frammento di codice seguente restituisce un'istanza fortemente tipizzata DbCommandBuilder :

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

Si applica a