SqlCeCommandBuilder 建構函式 (SqlCeDataAdapter)
使用相關聯的 SqlCeDataAdapter 和 SqlCeCommand 物件初始化 SqlCeCommandBuilder 類別的新執行個體。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public Sub New ( _
adapter As SqlCeDataAdapter _
)
'用途
Dim adapter As SqlCeDataAdapter
Dim instance As New SqlCeCommandBuilder(adapter)
public SqlCeCommandBuilder(
SqlCeDataAdapter adapter
)
public:
SqlCeCommandBuilder(
SqlCeDataAdapter^ adapter
)
new :
adapter:SqlCeDataAdapter -> SqlCeCommandBuilder
public function SqlCeCommandBuilder(
adapter : SqlCeDataAdapter
)
參數
- adapter
型別:System.Data.SqlServerCe.SqlCeDataAdapter
SqlCeDataAdapter 的名稱。