Edit

Share via


OdbcCommandBuilder Constructors

Definition

Initializes a new instance of the OdbcCommandBuilder class.

Overloads

OdbcCommandBuilder()

Initializes a new instance of the OdbcCommandBuilder class.

OdbcCommandBuilder(OdbcDataAdapter)

Initializes a new instance of the OdbcCommandBuilder class with the associated OdbcDataAdapter object.

OdbcCommandBuilder()

Source:
OdbcCommandBuilder.cs
Source:
OdbcCommandBuilder.cs
Source:
OdbcCommandBuilder.cs

Initializes a new instance of the OdbcCommandBuilder class.

public:
 OdbcCommandBuilder();
public OdbcCommandBuilder ();
Public Sub New ()

Remarks

The base constructor initializes all fields to their default values.

See also

Applies to

OdbcCommandBuilder(OdbcDataAdapter)

Source:
OdbcCommandBuilder.cs
Source:
OdbcCommandBuilder.cs
Source:
OdbcCommandBuilder.cs

Initializes a new instance of the OdbcCommandBuilder class with the associated OdbcDataAdapter object.

public:
 OdbcCommandBuilder(System::Data::Odbc::OdbcDataAdapter ^ adapter);
public OdbcCommandBuilder (System.Data.Odbc.OdbcDataAdapter? adapter);
public OdbcCommandBuilder (System.Data.Odbc.OdbcDataAdapter adapter);
new System.Data.Odbc.OdbcCommandBuilder : System.Data.Odbc.OdbcDataAdapter -> System.Data.Odbc.OdbcCommandBuilder
Public Sub New (adapter As OdbcDataAdapter)

Parameters

adapter
OdbcDataAdapter

An OdbcDataAdapter object to associate with this OdbcCommandBuilder.

Remarks

The OdbcCommandBuilder registers itself as a listener for RowUpdating events that are generated by the OdbcDataAdapter specified in this property.

When you create a new instance of OdbcCommandBuilder, any existing OdbcCommandBuilder associated with this OdbcDataAdapter is released.

See also

Applies to