OleDbFactory.CreateCommandBuilder Metodo

Definizione

Restituisce un'istanza DbCommandBuilder fortemente tipizzata.

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

Restituisce

Nuova istanza della classe DbCommandBuilder fortemente tipizzata.

Esempio

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

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

Si applica a