OdbcFactory.CreateCommandBuilder Methode

Definition

Gibt eine stark typisierte DbCommandBuilder-Instanz zurück.Returns a strongly-typed DbCommandBuilder instance.

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

Gibt zurück

DbCommandBuilder

Eine neue stark typisierte DbCommandBuilder-Instanz.A new strongly-typed instance of DbCommandBuilder.

Beispiele

Das folgende Code Fragment gibt eine stark typisierte- DbCommandBuilder Instanz zurück:The following code fragment returns a strongly-typed DbCommandBuilder instance:

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

Gilt für: