OracleClientFactory.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

A new strongly typed instance of DbCommandBuilder.

Examples

The following code fragment returns a strongly typed DbCommandBuilder instance.

Dim newFactory As OracleClientFactory = OracleClientFactory.Instance  
Dim commandBuilder As DbCommandBuilder = newFactory.CreateCommandBuilder()  
OracleClientFactory newFactory = OracleClientFactory.Instance;  
DbCommandBuilder commandBuilder = newFactory.CreateCommandBuilder();  

Applies to