DbSyncProvider Members
Abstracts a generic peer synchronization provider that communicates with a peer database and shields the synchronization agent from the specific implementation of the database.
The following tables list the members exposed by the DbSyncProvider type.
Public Constructors
Name | Description | |
---|---|---|
DbSyncProvider | Initializes a new instance of the DbSyncProvider class. This constructor is not CLS-compliant. |
Top
Public Properties
Name | Description | |
---|---|---|
ChangeTracking | Gets or sets a ChangeTrackingModel enumeration value that specifies the type of change tracking that is used in all peer databases. This property is not CLS-compliant. | |
Configuration | (Inherited from KnowledgeSyncProvider.) | |
Connection | Gets or sets an IDbConnection object that is used to connect to the peer database. This property is not CLS-compliant. | |
DestinationCallbacks | (Inherited from KnowledgeSyncProvider.) | |
IdFormats | Overridden. Gets a SyncIdFormatGroup object that is used to identify entities in a synchronization session. This property is not CLS-compliant. | |
ScopeName | Gets or sets the name of the scope to synchronize. This property is not CLS-compliant. | |
SelectNewTimestampCommand | Gets or sets an IDbCommand object that contains the query or stored procedure that returns a new timestamp value from the peer database. The timestamp defines the upper bound for the set of changes to be synchronized during the current session. This property is not CLS-compliant. | |
SelectScopeInfoCommand | Gets or sets an IDbCommand object that contains the query or stored procedure that returns scope metadata from the peer database. This property is not CLS-compliant. | |
SyncAdapters | Gets the DbSyncAdapterCollection that is associated with the DbSyncProvider object. This property is not CLS-compliant. | |
SyncProviderPosition | Gets or sets a SyncProviderPosition enumeration value that represents whether a provider is associated with the local or remote database. This property is not CLS-compliant. | |
UpdateScopeInfoCommand | Gets or sets an IDbCommand object that contains the query or stored procedure that updates scope metadata in the peer database. This property is not CLS-compliant. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
BeginSession | Overridden. Begins a synchronization session when given synchronization provider position and session context parameters. This method is not CLS-compliant. | |
CleanupMetadata | Removes change tracking data from the peer database. This method is not CLS-compliant. | |
Dispose | Overloaded. Releases the resources that are used by the DbSyncProvider. | |
EndSession | Overridden. Ends a synchronization session when given a session context parameter. This method is not CLS-compliant. | |
Equals | Overloaded. (Inherited from Object.) | |
GetChangeBatch | Overridden. Gets a batch of changes to synchronize when given batch size, destination knowledge, and change data retriever parameters. This method is not CLS-compliant. | |
GetFullEnumerationChangeBatch | Overridden. Gets a batch of changes to synchronize when given batch size, lower bound, knowledge, and change data retriever parameters. This method is not CLS-compliant. | |
GetHashCode | (Inherited from Object.) | |
GetSyncBatchParameters | Overridden. Get the parameters for the change batch when given batch size and knowledge parameters. This method is not CLS-compliant. | |
GetType | (Inherited from Object.) | |
ProcessChangeBatch | Overridden. Processes a batch of changes when given resolution policy, source changes, change data retriever, callback, and statistics parameters. This method is not CLS-compliant. | |
ProcessFullEnumerationChangeBatch | Overridden. Processes a batch of changes when given resolution policy, source changes, change data retriever, callback, and statistics parameters. This method is not CLS-compliant. | |
ReferenceEquals | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. Releases the resources that are used by the DbSyncProvider. | |
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnApplyChangeFailed | Raises the ApplyChangeFailed event. This method is not CLS-compliant. | |
OnApplyingChanges | Raises the ApplyingChanges event. This method is not CLS-compliant. | |
OnApplyMetadataFailed | Raises the ApplyMetadataFailed event. This method is not CLS-compliant. | |
OnChangesApplied | Raises the ChangesApplied event. This method is not CLS-compliant. | |
OnChangesSelected | Raises the ChangesSelected event. This method is not CLS-compliant. | |
OnPeerOutdated | Raises the SyncPeerOutdated event. This method is not CLS-compliant. | |
OnSelectingChanges | Raises the SelectingChanges event. This method is not CLS-compliant. | |
OnSyncProgress | Raises the SyncProgress event. This method is not CLS-compliant. |
Top
Public Events
Name | Description | |
---|---|---|
ApplyChangeFailed | Occurs during uploading, after failing to apply a row at a peer. This event is not CLS-compliant. | |
ApplyingChanges | Occurs during uploading, after connecting to the database but before applying changes. This event is not CLS-compliant. | |
ApplyMetadataFailed | Occurs during uploading, after failing to apply metadata for a row. This event is not CLS-compliant. | |
ChangesApplied | Occurs during uploading, after applying changes but before disconnecting from the database. This event is not CLS-compliant. | |
ChangesSelected | Occurs during downloading, after enumerating changes but before disconnecting from the database. This event is not CLS-compliant. | |
SelectingChanges | Occurs during downloading, after connecting to the database but before selecting changes. This event is not CLS-compliant. | |
SyncPeerOutdated | Occurs before enumeration of changes if the destination node is outdated. This event is not CLS-compliant. | |
SyncProgress | Occurs during the selection of changes (per table) and the application of changes (per row). This event is not CLS-compliant. |
Top
See Also
Reference
DbSyncProvider Class
Microsoft.Synchronization.Data Namespace