Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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](https://go.microsoft.com/fwlink/p/?linkid=393664.
Return to top