ApplyingChangesEventArgs 构造函数
使用组元数据、数据集、会话、上下文、连接和事务参数初始化 ApplyingChangesEventArgs 类的一个新实例。
命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)
语法
声明
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly")> _
Public Sub New ( _
groupMetadata As SyncGroupMetadata, _
dataSet As DataSet, _
syncSession As SyncSession, _
syncContext As SyncContext, _
connection As IDbConnection, _
transaction As IDbTransaction _
)
用法
Dim groupMetadata As SyncGroupMetadata
Dim dataSet As DataSet
Dim syncSession As SyncSession
Dim syncContext As SyncContext
Dim connection As IDbConnection
Dim transaction As IDbTransaction
Dim instance As New ApplyingChangesEventArgs(groupMetadata, dataSet, syncSession, syncContext, connection, transaction)
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly")]
public ApplyingChangesEventArgs (
SyncGroupMetadata groupMetadata,
DataSet dataSet,
SyncSession syncSession,
SyncContext syncContext,
IDbConnection connection,
IDbTransaction transaction
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly")]
public:
ApplyingChangesEventArgs (
SyncGroupMetadata^ groupMetadata,
DataSet^ dataSet,
SyncSession^ syncSession,
SyncContext^ syncContext,
IDbConnection^ connection,
IDbTransaction^ transaction
)
/** @attribute SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly") */
public ApplyingChangesEventArgs (
SyncGroupMetadata groupMetadata,
DataSet dataSet,
SyncSession syncSession,
SyncContext syncContext,
IDbConnection connection,
IDbTransaction transaction
)
SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly")
public function ApplyingChangesEventArgs (
groupMetadata : SyncGroupMetadata,
dataSet : DataSet,
syncSession : SyncSession,
syncContext : SyncContext,
connection : IDbConnection,
transaction : IDbTransaction
)
参数
- groupMetadata
包含有关同步组的元数据的 SyncGroupMetadata 对象。
- dataSet
包含要应用于客户端或服务器数据库的数据行的 DataSet 对象。
- syncSession
包含有关当前同步会话的元数据的 SyncSession 对象。
- syncContext
包含同步会话的数据变更、定位点值和其他元数据的 SyncContext 对象。
- connection
包含到客户端或服务器数据库的连接的 IDbConnection 对象。
- transaction
包含特定事务(在此事务中应用对表的变更)的 IDbTransaction 对象。
请参阅
参考
ApplyingChangesEventArgs 类
ApplyingChangesEventArgs 成员
Microsoft.Synchronization.Data 命名空间