RoleStore<TRole> Constructor
Initializes a new instance of the RoleStore<TRole> class.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Overload List
Name | Description | |
---|---|---|
RoleStore<TRole>() | Initializes a new instance of the RoleStore<TRole> class. |
|
RoleStore<TRole>(DbContext) | Initializes a new instance of the RoleStore<TRole> class. |
See Also
RoleStore<TRole> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top
RoleStore<TRole> Constructor ()
Initializes a new instance of the RoleStore<TRole> class.
Syntax
public RoleStore()
public:
RoleStore()
new : unit -> RoleStore
Public Sub New
See Also
Return to top
RoleStore<TRole> Constructor (DbContext)
Initializes a new instance of the RoleStore<TRole> class.
Syntax
public RoleStore(
DbContext context
)
public:
RoleStore(
DbContext^ context
)
new :
context:DbContext -> RoleStore
Public Sub New (
context As DbContext
)
Parameters
context
Type: System.Data.Entity.DbContextThe database context.
See Also
Return to top