Share via


RoleStore<TRole,TContext,TKey,TUserRole,TRoleClaim>.AutoSaveChanges Property

Definition

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.

Applies to