SqlCeClientSyncProvider Members
Abstracts a client synchronization provider for SQL Server Compact that communicates with the client and shields the synchronization agent from the specific implementation of the client database.
The following tables list the members exposed by the SqlCeClientSyncProvider type.
Public Constructors
Name | Description | |
---|---|---|
SqlCeClientSyncProvider | Overloaded. Initializes a new instance of the SqlCeClientSyncProvider class. |
Top
Public Properties
Name | Description | |
---|---|---|
ClientId | Overridden. Gets or sets the GUID that Sync Framework uses to identify the client database. | |
ConflictResolver | Gets a SyncConflictResolver object for the client synchronization provider, which determines what action to take when a conflict occurs. | |
Connection | Gets the IDbConnection object that is used to connect to the client database. | |
ConnectionString | Gets or sets the string that is used to connect to the client database. | |
CreateDatabaseIfNotExists | Gets or sets whether to create the client database if it does not exist. | |
RetentionInDays | Gets or sets the number of days that change-tracking metadata is stored in a SQL Server Compact database. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
AcceptChanges | Overloaded. Updates tracking metadata so that pending changes at the client are not uploaded during the next synchronization. | |
ApplyChanges | Overloaded. Applies inserts, updates, and deletes for a synchronization group to the client database. | |
BeginTransaction | Overridden. Called by the SyncAgent to begin a transaction. This allows the agent to commit a set of changes as an atomic unit. | |
CreateSchema | Overridden. Creates the table schema in the client database if the schema does not exist. | |
Dispose | Overloaded. Overridden. Releases the resources that are used by SqlCeClientSyncProvider. | |
EndTransaction | Overridden. Called by the SyncAgent to end a transaction. This allows the agent to commit a set of changes as an atomic unit. | |
Equals | Overloaded. (Inherited from Object.) | |
GetChanges | Overloaded. Gets inserts, updates, and deletes from the client that occurred since the last time Synchronize or AcceptChanges was called. | |
GetHashCode | (Inherited from Object.) | |
GetTableReceivedAnchor | Overridden. Gets a SyncAnchor object that contains the time when the last change was received from the server. | |
GetTableSentAnchor | Overridden. Gets a SyncAnchor object that contains the time when the last change was sent from the client. | |
GetType | (Inherited from Object.) | |
OnInitialized | Raises the initialized event. | |
ReferenceEquals | (Inherited from Object.) | |
SetTableReceivedAnchor | Overridden. Sets a SyncAnchor object that contains the time that the last change was received from the server. | |
SetTableSentAnchor | Overridden. Sets a SyncAnchor object that contains the time when the last change was sent from the client. | |
ToString | (Inherited from Object.) |
Top
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. Releases the resources that are used by SqlCeClientSyncProvider. | |
Finalize | Overridden. Is the destructor for SqlCeClientSyncProvider. | |
MemberwiseClone | (Inherited from Object.) | |
OnApplyChangeFailed | Raises the ApplyChangeFailed event. | |
OnApplyingChanges | Raises the ApplyingChanges event. | |
OnChangesApplied | Raises the ChangesApplied event. | |
OnChangesSelected | Raises the ChangesSelected event. | |
OnCreatingSchema | Raises the CreatingSchema event. | |
OnSchemaCreated | Raises the SchemaCreated event. | |
OnSelectingChanges | Raises the SelectingChanges event. | |
OnSyncProgress | Raises the SyncProgress event. |
Top
Public Events
Name | Description | |
---|---|---|
ApplyChangeFailed | Occurs after a row could not be applied at the client. | |
ApplyingChanges | Occurs before changes are applied at the client for a synchronization group. | |
ChangesApplied | Occurs after all changes are applied at the client for a synchronization group. | |
ChangesSelected | Occurs after all changes to be applied to the server for a synchronization group are selected from the client. | |
CreatingSchema | Occurs before the schema is created at the client for each table. | |
SchemaCreated | Occurs after the schema is created at the client for each table. | |
SelectingChanges | Occurs before all changes to be applied to the server for a synchronization group are selected from the client. | |
SyncProgress | Occurs during the selection and application of changes for a synchronization group at the client. |
Top
See Also
Reference
SqlCeClientSyncProvider Class
Microsoft.Synchronization.Data.SqlServerCe Namespace