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 a value that indicates whether to call dispose on 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 to call dispose on the DbContext; otherwise, false.
See Also
RoleStore<TRole, TKey, TUserRole> Class Microsoft.AspNet.Identity.EntityFramework Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.
Return to top