OleDbCommandBuilder 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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)
参数
- adapter
- OleDbDataAdapter
注解
将OleDbCommandBuilder自身注册为由此属性中指定的 生成的OleDbDataAdapter事件的侦听器RowUpdating。
创建新的实例 时,将释放与此关联的OleDbDataAdapter任何现有OleDbCommandBuilder实例OleDbCommandBuilder。