Share via


RoleStore<TRole,TContext,TKey,TUserRole,TRoleClaim>.AutoSaveChanges Proprietà

Definizione

Ottiene o imposta un flag che indica se le modifiche devono essere mantenute dopo la chiamata CreateAsync, UpdateAsync e DeleteAsync.

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

Valore della proprietà

True se le modifiche devono essere mantenute automaticamente, in caso contrario false.

Si applica a