SqlClientFactory.CreateCommandBuilder SqlClientFactory.CreateCommandBuilder SqlClientFactory.CreateCommandBuilder SqlClientFactory.CreateCommandBuilder Method

Definition

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

Returns

Examples

The following code fragment returns a strongly typed DbCommandBuilder instance:

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

Applies to

See also