Bagikan melalui


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

Definisi

Mendapatkan atau mengatur bendera yang menunjukkan apakah perubahan harus dipertahankan setelah CreateAsync, UpdateAsync, dan DeleteAsync dipanggil.

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

Nilai Properti

True jika perubahan harus dipertahankan secara otomatis, jika tidak salah.

Berlaku untuk