UserStore<TUser>.DisposeContext Property

If true will call dispose on the DbContext during Dipose

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

Syntax

'Declaration
Public Property DisposeContext As Boolean 
    Get 
    Set
'Usage
Dim instance As UserStore 
Dim value As Boolean 

value = instance.DisposeContext

instance.DisposeContext = value
public bool DisposeContext { get; set; }
public:
property bool DisposeContext {
    bool get ();
    void set (bool value);
}
member DisposeContext : bool with get, set
function get DisposeContext () : boolean 
function set DisposeContext (value : boolean)

Property Value

Type: System.Boolean

See Also

Reference

UserStore<TUser> Class

Microsoft.AspNet.Identity.EntityFramework Namespace