DbDataController<TContext>.ResolveConflicts Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Finalizes changes after all the operations in the specified changeset have been invoked.
Namespace: System.Web.Http.Data.EntityFramework
Assembly: System.Web.Http.Data.EntityFramework (in System.Web.Http.Data.EntityFramework.dll)
Syntax
'Declaration
Protected Overridable Function ResolveConflicts ( _
conflicts As IEnumerable(Of DbEntityEntry) _
) As Boolean
protected virtual bool ResolveConflicts(
IEnumerable<DbEntityEntry> conflicts
)
protected:
virtual bool ResolveConflicts(
IEnumerable<DbEntityEntry^>^ conflicts
)
abstract ResolveConflicts :
conflicts:IEnumerable<DbEntityEntry> -> bool
override ResolveConflicts :
conflicts:IEnumerable<DbEntityEntry> -> bool
protected function ResolveConflicts(
conflicts : IEnumerable<DbEntityEntry>
) : boolean
Parameters
- conflicts
Type: System.Collections.Generic.IEnumerable<DbEntityEntry>
The list of concurrency conflicts that occurred.
Return Value
Type: System.Boolean
Returns true if the ChangeSet was persisted successfully; otherwise, false.
Remarks
All changes are committed to the DbContext. If the submit fails due to concurrency conflicts ResolveConflicts will be called. If ResolveConflicts returns true a single resubmit will be attempted.