LinqToEntitiesDomainService<TContext>.ResolveConflicts Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Resolves the conflicts when the submit fails due to optimistic concurrency conflicts.

Namespace:  System.ServiceModel.DomainServices.EntityFramework
Assembly:  System.ServiceModel.DomainServices.EntityFramework (in System.ServiceModel.DomainServices.EntityFramework.dll)

protected virtual bool ResolveConflicts(
	IEnumerable<ObjectStateEntry> conflicts


Type: System.Collections.Generic.IEnumerable<ObjectStateEntry>
The collection of conflicts to resolve.

Return Value

Type: System.Boolean
true if the conflicts were successfully resolved; otherwise, false.

If the submit fails due to concurrency conflicts, the ResolveConflicts method is called. If ResolveConflicts returns true, a single resubmit will be attempted.