共用方式為


SqlCeProviderFactory.CreateCommandBuilder 方法

傳回提供者類別的新執行個體,該類別實作 [System.Data.Common.DbCommandBuilder]。

命名空間:  System.Data.SqlServerCe
組件:  System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)

語法

'宣告
Public Overrides Function CreateCommandBuilder As DbCommandBuilder
'用途
Dim instance As SqlCeProviderFactory
Dim returnValue As DbCommandBuilder

returnValue = instance.CreateCommandBuilder()
public override DbCommandBuilder CreateCommandBuilder()
public:
virtual DbCommandBuilder^ CreateCommandBuilder() override
abstract CreateCommandBuilder : unit -> DbCommandBuilder 
override CreateCommandBuilder : unit -> DbCommandBuilder 
public override function CreateCommandBuilder() : DbCommandBuilder

傳回值

型別:System.Data.Common.DbCommandBuilder
[System.Data.Common.DbCommandBuilder] 的新執行個體。

請參閱

參考

SqlCeProviderFactory 類別

System.Data.SqlServerCe 命名空間