DbSyncConflict::LocalChange Property

Gets the DataTable object that contains the conflicting rows from the local database.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

public:
property DataTable^ LocalChange {
	DataTable^ get ();
}

Property Value

Type: System.Data::DataTable
A DataTable object that contains the conflicting rows from the local database.

The changes that are available through the LocalChange and RemoteChange objects depend on where a conflict was detected. For more information, see "Conflict and Error Detection" in How to: Handle Data Conflicts and Errors for Database Synchronization (SQL Server).

If an application must change data values during synchronization, use the DbSyncContext object instead of the DbSyncConflict object. The DbSyncConflict object contains copies of the rows at each peer. Changes to these copies are not persisted at each peer during synchronization.

Show: