共用方式為


Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace

This assembly provides business logic that can be used in your application to respond to a number of conditions that occur during synchronization: data changes, conflicts, and errors. To create your own business logic handler, you must implement the specific methods of the BusinessLogicModule class that are required by your application. For more information on business logic handlers, see Execute Business Logic During Merge Synchronization.

Classes

BusinessLogicCommand
BusinessLogicConnection
BusinessLogicDataAdapter
BusinessLogicDataReader
BusinessLogicModule

Implements the custom business logic that is invoked during the merge replication synchronization process.

BusinessLogicParameter
BusinessLogicParameterCollection
BusinessLogicResolver
BusinessLogicRowUpdatedEventArgs
BusinessLogicRowUpdatingEventArgs
BusinessLogicTransaction
IBusinessLogicResolver
TempDB
TempDBMetaData
TempDBResultSet

Enums

ActionOnDataChange

Enumerates all actions that can be taken when handling data changes that do not result in a conflict.

ActionOnDataDelete

Enumerates all actions that can be taken when replicating DELETE statements that do not result in a conflict.

ActionOnDataError

Enumerates all actions that can be taken when handling data errors.

ActionOnUpdateConflict

Enumerates all actions that can be taken when handling conflicting UPDATE statements.

ActionOnUpdateDeleteConflict

Enumerates all actions that can be taken when handling an UPDATE statement that conflicts with a DELETE statement.

ChangeStates

Enumerates all data change states that custom business logic can handle during synchronization.

ConflictLogType

Enumerates the supported conflict logging options available to a conflict handler.

ErrorLogType

Enumerates the supported error logging options available.

SourceIdentifier

Enumerates all sources of a data change.

Delegates

BusinessLogicRowUpdatedEventHandler

Represents the method that will handle a row updated event.

BusinessLogicRowUpdatingEventHandler

Represents the method that will handle a row updating event.

Remarks

The Microsoft.SqlServer.Replication.BusinessLogicSupport namespace implements a number of public classes and delegates that support the SQL Server 2005 infrastructure and are not intended to be used directly from your code. Because they should not be used, these classes and delegate topic are not included in this reference documentation. Only the BusinessLogicModule class and the enumerated types should be used when writing your own business logic handler.