SqlCeCommandBuilder 成员

提供一种方法,以自动生成用于协调对 DataSet 所做的更改和关联数据库的单表命令。无法继承此类。

SqlCeCommandBuilder 类型公开以下成员。

构造函数

  名称 说明
公共方法 SqlCeCommandBuilder() () () () 初始化 SqlCeCommandBuilder 类的一个新实例。
公共方法 SqlCeCommandBuilder(SqlCeDataAdapter) 使用关联的 SqlCeDataAdapterSqlCeCommand 对象初始化 SqlCeCommandBuilder 类的新实例。

页首

方法

  名称 说明
受保护的方法 ApplyParameterInfo (inherited from DbCommandBuilder)
公共方法 CreateObjRef (inherited from MarshalByRefObject)
公共方法 Dispose (inherited from Component)
受保护的方法 Dispose (inherited from DbCommandBuilder)
公共方法 Equals (inherited from Object)
受保护的方法 Finalize (inherited from Component)
公共方法 GetDeleteCommand() () () () 获取在应用程序对 SqlCeDataAdapter 调用 Update 时对数据库执行删除操作所需要的、自动生成的 SqlCeCommand 对象。
公共方法 GetDeleteCommand (inherited from DbCommandBuilder)
公共方法 GetHashCode (inherited from Object)
公共方法 GetInsertCommand() () () () 获取在应用程序对 SqlCeDataAdapter 调用 Update 时对数据库执行插入操作所需要的、自动生成的 SqlCeCommand 对象。
公共方法 GetInsertCommand (inherited from DbCommandBuilder)
公共方法 GetLifetimeService (inherited from MarshalByRefObject)
受保护的方法 GetParameterName (inherited from DbCommandBuilder)
受保护的方法 GetParameterName (inherited from DbCommandBuilder)
受保护的方法 GetParameterPlaceholder (inherited from DbCommandBuilder)
受保护的方法 GetSchemaTable (inherited from DbCommandBuilder)
受保护的方法 GetService (inherited from Component)
公共方法 GetType (inherited from Object)
公共方法 GetUpdateCommand() () () () 获取在应用程序对 SqlCeDataAdapter 调用 Update 时对数据库执行更新操作所需要的、自动生成的 SqlCeCommand 对象。
公共方法 GetUpdateCommand (inherited from DbCommandBuilder)
受保护的方法 InitializeCommand (inherited from DbCommandBuilder)
公共方法 InitializeLifetimeService (inherited from MarshalByRefObject)
受保护的方法 MemberwiseClone (inherited from Object)
受保护的方法 MemberwiseClone (inherited from MarshalByRefObject)
公共方法 QuoteIdentifier 返回具有正确引号格式的指定标识符。 (重写 DbCommandBuilder. . :: . .QuoteIdentifier(String)。)
公共方法 RefreshSchema (inherited from DbCommandBuilder)
受保护的方法 RowUpdatingHandler (inherited from DbCommandBuilder)
受保护的方法 SetRowUpdatingHandler (inherited from DbCommandBuilder)
公共方法 ToString (inherited from Component)
公共方法 UnquoteIdentifier 返回具有正确无引号格式的指定标识符。 (重写 DbCommandBuilder. . :: . .UnquoteIdentifier(String)。)

页首

属性

  名称 说明
受保护的属性 CanRaiseEvents (inherited from Component)
公共属性 CatalogLocation SQL Server Compact 3.5 不支持。 (重写 DbCommandBuilder. . :: . .CatalogLocation。)
公共属性 CatalogSeparator SQL Server Compact 3.5 不支持。 (重写 DbCommandBuilder. . :: . .CatalogSeparator。)
公共属性 ConflictOption 指定哪个 ConflictOption 将由 SqlCeCommandBuilder 使用。 (重写 DbCommandBuilder. . :: . .ConflictOption。)
公共属性 Container (inherited from Component)
公共属性 DataAdapter 获取或设置一个为其自动生成 SQL 语句的 SqlCeDataAdapter 对象。
受保护的属性 DesignMode (inherited from Component)
受保护的属性 Events (inherited from Component)
公共属性 QuotePrefix 获取或设置指定其名称包含空格或保留标记等字符的 SQL Server 数据库对象(例如,表或列)时使用的开始字符。 (重写 DbCommandBuilder. . :: . .QuotePrefix。)
公共属性 QuoteSuffix 获取或设置指定其名称包含空格或保留标记等字符的 SQL Server 数据库对象(例如,表或列)时使用的结束字符。 (重写 DbCommandBuilder. . :: . .QuoteSuffix。)
公共属性 SchemaSeparator SQL Server Compact 3.5 不支持。 (重写 DbCommandBuilder. . :: . .SchemaSeparator。)
公共属性 SetAllValues (inherited from DbCommandBuilder)
公共属性 Site (inherited from Component)

页首

事件

  名称 说明
公共事件 Disposed (inherited from Component)

页首

请参阅

参考

SqlCeCommandBuilder类

System.Data.SqlServerCe 命名空间