RoleStore<TRole> Constructor (DbContext)
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)
Syntax
'Declaration
Public Sub New ( _
context As DbContext _
)
'Usage
Dim context As DbContext
Dim instance As New RoleStore(context)
public RoleStore(
DbContext context
)
public:
RoleStore(
DbContext^ context
)
new :
context:DbContext -> RoleStore
public function RoleStore(
context : DbContext
)
Parameters
- context
Type: System.Data.Entity.DbContext
The database context.
See Also
Reference
Microsoft.AspNet.Identity.EntityFramework Namespace