DbServerSyncProvider Members
Abstracts a generic server synchronization provider that communicates with the server database and shields the synchronization agent from the specific implementation of the database.
The following tables list the members exposed by the DbServerSyncProvider type.
Public Constructors
Name | Description | |
---|---|---|
DbServerSyncProvider | Initializes a new instance of the DbServerSyncProvider class. |
Top
Public Properties
Name | Description | |
---|---|---|
BatchSize | Gets or sets the batch size (in rows) that is used by commands that retrieve changes from the server database. | |
Connection | Gets or sets an IDbConnection object that is used to connect to the server database. | |
Schema | Gets or sets a SyncSchema object that contains information about the table schema on the server. | |
SelectClientIdCommand | Gets or sets an IDbCommand object that contains the query or stored procedure that returns originator IDs from the server database. | |
SelectNewAnchorCommand | Gets or sets an IDbCommand object that contains the query or stored procedure that returns a new anchor value from the server database. The anchor defines the upper bound for the set of changes to be synchronized during the current session. | |
SyncAdapters | Gets the SyncAdapterCollection that is associated with the DbServerSyncProvider. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
ApplyChanges | Overridden. Applies inserts, updates, and deletes for a synchronization group to the server database. | |
Dispose | Overloaded. Overridden. Releases the resources used by the DbServerSyncProvider. | |
Equals | Overloaded. (inherited from Object ) | |
GetChanges | Overridden. Selects for a table in the server database the inserts, updates, and deletes to apply to the client database for a synchronization group. | |
GetHashCode | (inherited from Object ) | |
GetSchema | Overridden. Returns a SyncSchema object that contains the schema for each table specified. | |
GetServerInfo | Overridden. Gets a SyncServerInfo object when give a session parameter. | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. Releases the resources used by the DbServerSyncProvider. | |
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) | |
OnApplyChangeFailed | Raises the ApplyChangeFailed event. | |
OnApplyingChanges | Raises the ApplyingChanges event. | |
OnChangesApplied | Raises the ChangesApplied event. | |
OnChangesSelected | Raises the ChangesSelected event. | |
OnSelectingChanges | Raises the SelectingChanges event. | |
OnSyncProgress | Raises the SyncProgress event. |
Top
Public Events
Name | Description | |
---|---|---|
ApplyChangeFailed | Occurs after a row fails to be applied at the server. | |
ApplyingChanges | Occurs before changes are applied at the server for a synchronization group. | |
ChangesApplied | Occurs after all changes are applied at the server for a synchronization group. | |
ChangesSelected | Occurs after all changes to be applied to the client for a synchronization group are selected from the server. | |
SelectingChanges | Occurs before all changes to be applied to the client for a synchronization group are selected from the server. | |
SyncProgress | Occurs during the selection and application of changes for a synchronization group at the server. |
Top
See Also
Reference
DbServerSyncProvider Class
Microsoft.Synchronization.Data.Server Namespace