RoleStore<TRole,TContext,TKey,TUserRole,TRoleClaim>.AutoSaveChanges Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a flag indicating if changes should be persisted after CreateAsync, UpdateAsync and DeleteAsync are called.
public:
property bool AutoSaveChanges { bool get(); void set(bool value); };
public bool AutoSaveChanges { get; set; }
member this.AutoSaveChanges : bool with get, set
member this.AutoSaveChanges : bool with get, set
Public Property AutoSaveChanges As Boolean
Property Value
True if changes should be automatically persisted, otherwise false.