UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Constructor

Initializes a new instance of the UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> class which takes a db context and wires up the stores with default instances using the context.

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

Syntax

'Declaration
Public Sub New ( _
    context As DbContext _
)
'Usage
Dim context As DbContext 

Dim instance As New UserStore(context)
public UserStore(
    DbContext context
)
public:
UserStore(
    DbContext^ context
)
new : 
        context:DbContext -> UserStore
public function UserStore(
    context : DbContext
)

Parameters

See Also

Reference

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class

Microsoft.AspNet.Identity.EntityFramework Namespace

Other Resources

ASP.NET Identity