RoleStore<TRole> Constructor (DbContext)
Constructor 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 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