UserStore<TUser> Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
UserStore<TUser>() |
Default constuctor which uses a new instance of a default EntityDbContext. |
UserStore<TUser>(DbContext) |
Constructor |
Default constuctor which uses a new instance of a default EntityDbContext.
public:
UserStore();
C#
public UserStore ();
Public Sub New ()
Applies to
ASP.NET Core 2.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0 |
Constructor
public:
UserStore(System::Data::Entity::DbContext ^ context);
C#
public UserStore (System.Data.Entity.DbContext context);
new Microsoft.AspNet.Identity.CoreCompat.UserStore<'User (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)> : System.Data.Entity.DbContext -> Microsoft.AspNet.Identity.CoreCompat.UserStore<'User (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser)>
Public Sub New (context As DbContext)
Parameters
- context
- DbContext
Applies to
ASP.NET Core 2.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0 |