OleDbCommandBuilder 构造函数

定义

初始化 OleDbCommandBuilder 类的新实例。

重载

OleDbCommandBuilder()

初始化 OleDbCommandBuilder 类的新实例。

OleDbCommandBuilder(OleDbDataAdapter)

使用关联的 OleDbCommandBuilder 对象初始化 OleDbDataAdapter 类的新实例。

OleDbCommandBuilder()

Source:
OleDbCommandBuilder.cs
Source:
OleDbCommandBuilder.cs
Source:
OleDbCommandBuilder.cs
Source:
OleDbCommandBuilder.cs
Source:
OleDbCommandBuilder.cs

初始化 OleDbCommandBuilder 类的新实例。

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

另请参阅

适用于

OleDbCommandBuilder(OleDbDataAdapter)

Source:
OleDbCommandBuilder.cs
Source:
OleDbCommandBuilder.cs
Source:
OleDbCommandBuilder.cs
Source:
OleDbCommandBuilder.cs
Source:
OleDbCommandBuilder.cs

使用关联的 OleDbCommandBuilder 对象初始化 OleDbDataAdapter 类的新实例。

public:
 OleDbCommandBuilder(System::Data::OleDb::OleDbDataAdapter ^ adapter);
public OleDbCommandBuilder (System.Data.OleDb.OleDbDataAdapter? adapter);
public OleDbCommandBuilder (System.Data.OleDb.OleDbDataAdapter adapter);
new System.Data.OleDb.OleDbCommandBuilder : System.Data.OleDb.OleDbDataAdapter -> System.Data.OleDb.OleDbCommandBuilder
Public Sub New (adapter As OleDbDataAdapter)

参数

注解

OleDbCommandBuilder自身注册为由此属性中指定的 生成的OleDbDataAdapter事件的侦听器RowUpdating

创建新的实例 时,将释放与此关联的OleDbDataAdapter任何现有OleDbCommandBuilder实例OleDbCommandBuilder

另请参阅

适用于