Compartilhar via


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

Definição

Obtém ou define um sinalizador que indica se as alterações devem ser persistidas depois que CreateAsync, UpdateAsync e DeleteAsync são chamados.

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

Valor da propriedade

True se as alterações devem ser mantidas automaticamente, caso contrário, false.

Aplica-se a