UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.DisposeContext Property

 

Gets or sets whether to dispose the DbContext during Dispose.

Namespace:   Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

public bool DisposeContext { get; set; }
public:
property bool DisposeContext {
    bool get();
    void set(bool value);
}
member DisposeContext : bool with get, set
Public Property DisposeContext As Boolean

Property Value

Type: System.Boolean

true if to dispose DbContext; otherwise, false.

See Also

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity

Return to top