UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Constructor (DbContext)
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
public UserStore(
DbContext context
)
public:
UserStore(
DbContext^ context
)
new :
context:DbContext -> UserStore
Public Sub New (
context As DbContext
)
Parameters
context
Type: System.Data.Entity.DbContextThe context.
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top