UserStore<TUser,TRole,TKey,TUserLogin,TUserRole,TUserClaim> Constructor
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Constructor
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)
Parámetros
- context
- DbContext