Share via


DbDataController<TContext>.PersistChangeSet 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 Overrides Function PersistChangeSet As Boolean
protected override bool PersistChangeSet()
protected:
virtual bool PersistChangeSet() override
abstract PersistChangeSet : unit -> bool 
override PersistChangeSet : unit -> bool 
protected override function PersistChangeSet() : boolean

Return Value

Type: System.Boolean
true if the ChangeSet was persisted successfully; otherwise, false.

Remarks

All changes are committed to the DbContext, and any resulting optimistic concurrency errors are processed.

See Also

Reference

DbDataController<TContext> Class

System.Web.Http.Data.EntityFramework Namespace