Udostępnij za pośrednictwem


DbApplyingChangesEventArgs Constructor (DbSyncScopeMetadata, DataSet, DbSyncSession, DbSyncContext, IDbConnection, IDbTransaction)

Initializes a new instance of the DbApplyingChangesEventArgs class by using scope metadata, DataSet, session, context, connection, and transaction parameters.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")> _
Public Sub New ( _
    scopeMetadata As DbSyncScopeMetadata, _
    changes As DataSet, _
    session As DbSyncSession, _
    context As DbSyncContext, _
    connection As IDbConnection, _
    transaction As IDbTransaction _
)
'Usage
Dim scopeMetadata As DbSyncScopeMetadata
Dim changes As DataSet
Dim session As DbSyncSession
Dim context As DbSyncContext
Dim connection As IDbConnection
Dim transaction As IDbTransaction

Dim instance As New DbApplyingChangesEventArgs(scopeMetadata, changes, session, context, connection, transaction)
[SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")] 
public DbApplyingChangesEventArgs (
    DbSyncScopeMetadata scopeMetadata,
    DataSet changes,
    DbSyncSession session,
    DbSyncContext context,
    IDbConnection connection,
    IDbTransaction transaction
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1706:ShortAcronymsShouldBeUppercase")] 
public:
DbApplyingChangesEventArgs (
    DbSyncScopeMetadata^ scopeMetadata, 
    DataSet^ changes, 
    DbSyncSession^ session, 
    DbSyncContext^ context, 
    IDbConnection^ connection, 
    IDbTransaction^ transaction
)
/** @attribute SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase") */ 
public DbApplyingChangesEventArgs (
    DbSyncScopeMetadata scopeMetadata, 
    DataSet changes, 
    DbSyncSession session, 
    DbSyncContext context, 
    IDbConnection connection, 
    IDbTransaction transaction
)
SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase") 
public function DbApplyingChangesEventArgs (
    scopeMetadata : DbSyncScopeMetadata, 
    changes : DataSet, 
    session : DbSyncSession, 
    context : DbSyncContext, 
    connection : IDbConnection, 
    transaction : IDbTransaction
)

Parameters

  • scopeMetadata
    A DbSyncScopeMetaData object that contains metadata, such as synchronization knowledge.
  • changes
    A DataSet object that contains the rows of data to be applied to the peer database.
  • session
    A DbSyncSession object that contains metadata about the current synchronization session.
  • context
    A DbSyncContext object that contains data changes, anchor values, and other metadata for a synchronization session.
  • connection
    An IDbConnection object that contains a connection to the peer database.
  • transaction
    An IDbTransaction object that contains the transaction within which changes to tables are applied.

See Also

Reference

DbApplyingChangesEventArgs Class
DbApplyingChangesEventArgs Members
Microsoft.Synchronization.Data Namespace