Freigeben über


UserStore<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim> Konstruktor

Definition

Konstruktor

public:
 UserStore(System::Data::Entity::DbContext ^ context);
public UserStore (System.Data.Entity.DbContext context);
new Microsoft.AspNet.Identity.CoreCompat.UserStore<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'Key :> IEquatable<'Key> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim))> : System.Data.Entity.DbContext -> Microsoft.AspNet.Identity.CoreCompat.UserStore<'User, 'Role, 'Key, 'UserLogin, 'UserRole, 'UserClaim (requires 'User :> Microsoft.AspNet.Identity.CoreCompat.IdentityUser<'Key, 'UserLogin, 'UserRole, 'UserClaim> and 'Role :> Microsoft.AspNet.Identity.CoreCompat.IdentityRole<'Key, 'UserRole> and 'Key :> IEquatable<'Key> and 'UserLogin :> Microsoft.AspNet.Identity.CoreCompat.IdentityUserLogin<'Key> and 'UserLogin : (new : unit -> 'UserLogin) and 'UserRole :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<'Key> and 'UserRole : (new : unit -> 'UserRole) and 'UserClaim :> Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim<'Key> and 'UserClaim : (new : unit -> 'UserClaim))>
Public Sub New (context As DbContext)

Parameter

context
DbContext

Gilt für: