Share via


UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.AutoSaveChanges Property

 

Gets or sets a value that indicates whether to call SaveChanges after Create/Update/Delete.

Namespace:   Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

public bool AutoSaveChanges { get; set; }
public:
property bool AutoSaveChanges {
    bool get();
    void set(bool value);
}
member AutoSaveChanges : bool with get, set
Public Property AutoSaveChanges As Boolean

Property Value

Type: System.Boolean

true if the auto SaveChanges will be called; otherwise, false.

See Also

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity

Return to top