UserStore<TUser> Constructor (DbContext)
Constructor that takes the db 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
- context
Type: System.Data.Entity.DbContext