Share via


UserOnlyStore<TUser,TContext,TKey,TUserClaim,TUserLogin,TUserToken>.AutoSaveChanges Proprietà

Definizione

Ottiene o imposta un flag che indica se le modifiche devono essere rese persistenti dopo la chiamata a 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
Public Property AutoSaveChanges As Boolean

Valore della proprietà

True se le modifiche devono essere salvate automaticamente in modo permanente; in caso contrario, false.

Si applica a