Export (0) Print
Expand All

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.

  Name Description
Public method DbServerSyncProvider Initializes a new instance of the DbServerSyncProvider class.
Top

  Name Description
Public property BatchSize Gets or sets the batch size (in rows) that is used by commands that retrieve changes from the server database.
Public property Connection Gets or sets an IDbConnection object that is used to connect to the server database.
Public property Schema Gets or sets a SyncSchema object that contains information about the table schema on the server.
Public property SelectClientIdCommand Gets or sets an IDbCommand object that contains the query or stored procedure that returns originator IDs from the server database.
Public property 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.
Public property SyncAdapters Gets the SyncAdapterCollection that is associated with the DbServerSyncProvider.
Top

(see also Protected Methods )
  Name Description
Public method ApplyChanges Overridden. Applies inserts, updates, and deletes for a synchronization group to the server database.
Public method Dispose Overloaded. Overridden. Releases the resources used by the DbServerSyncProvider.
Public method Equals  Overloaded. (Inherited from Object.)
Public method 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.
Public method GetHashCode  (Inherited from Object.)
Public method GetSchema Overridden. Returns a SyncSchema object that contains the schema for each table specified.
Public method GetServerInfo Overridden. Gets a SyncServerInfo object when give a session parameter.
Public method GetType  (Inherited from Object.)
Public method Bb686878.static(en-us,SQL.105).gif ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)
Top

  Name Description
Protected method Dispose Overloaded. Releases the resources used by the DbServerSyncProvider.
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Protected method OnApplyChangeFailed Raises the ApplyChangeFailed event.
Protected method OnApplyingChanges Raises the ApplyingChanges event.
Protected method OnChangesApplied Raises the ChangesApplied event.
Protected method OnChangesSelected Raises the ChangesSelected event.
Protected method OnSelectingChanges Raises the SelectingChanges event.
Protected method OnSyncProgress Raises the SyncProgress event.
Top

  Name Description
Public event ApplyChangeFailed Occurs after a row fails to be applied at the server.
Public event ApplyingChanges Occurs before changes are applied at the server for a synchronization group.
Public event ChangesApplied Occurs after all changes are applied at the server for a synchronization group.
Public event ChangesSelected Occurs after all changes to be applied to the client for a synchronization group are selected from the server.
Public event SelectingChanges Occurs before all changes to be applied to the client for a synchronization group are selected from the server.
Public event SyncProgress Occurs during the selection and application of changes for a synchronization group at the server.
Top
Show:
© 2014 Microsoft