SyncAdapter 成员

表示一组数据命令,这些命令用于获取架构信息以及在服务器数据库中检索和应用变更。

以下各表列出了由 SyncAdapter 类型公开的成员。

公共构造函数

  名称 说明
Public method SyncAdapter 已重载。初始化 SyncAdapter 类的一个新实例。

顶部

公共属性

  名称 说明
Public property ColumnMappings 获取表的 SyncColumnMapping 对象的集合。这些对象可将服务器表中的列映射到客户端表中的相应列。
Public property DeleteCommand 获取或设置查询或存储过程,用于从服务器数据库中删除数据。
Public property Description 获取或设置同步适配器的说明。
Public property InsertCommand 获取或设置查询或存储过程,用于将数据插入服务器数据库。
Public property SelectConflictDeletedRowsCommand 获取或设置查询或存储过程,用于标识与其他变更相冲突的已删除行。
Public property SelectConflictUpdatedRowsCommand 获取或设置查询或存储过程,用于标识与其他变更相冲突的已更新行。
Public property SelectIncrementalDeletesCommand 获取或设置查询或存储过程,用于检索自上次同步之后在服务器数据库中进行的删除。
Public property SelectIncrementalInsertsCommand 获取或设置查询或存储过程,用于检索自上次同步之后在服务器数据库中进行的插入。
Public property SelectIncrementalUpdatesCommand 获取或设置查询或存储过程,用于检索自上次同步之后在服务器数据库中进行的更新。
Public property TableName 获取或设置服务器上要为其创建 SyncAdapter 的表的名称。
Public property UpdateCommand 获取或设置查询或存储过程,用于更新服务器数据库中数据。

顶部

公共方法

(请参阅 受保护的方法 )

  名称 说明
Public method Equals  已重载。 (继承自 Object。)
Public method FillSchema 填充 TableName 中指定的表的架构信息。
Public method GetClientColumnFromServerColumn 获取与指定的服务器列名称相对应的客户端列名称。
Public method GetHashCode  (继承自 Object。)
Public method GetType  (继承自 Object。)
Public method Static ReferenceEquals  (继承自 Object。)
Public method ToString 已重写。返回一个表示 SyncAdapter 对象的字符串。

顶部

受保护的方法

  名称 说明
Protected method Finalize  (继承自 Object。)
Protected method MemberwiseClone  (继承自 Object。)

顶部

请参阅

参考

SyncAdapter 类
Microsoft.Synchronization.Data.Server 命名空间