1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
namespace Microsoft.AspNet.Identity.EntityFramework { // // Summary: // EntityFramework based user store implementation that supports IUserStore, IUserLoginStore, // IUserClaimStore and IUserRoleStore // // Type parameters: // TUser: public class UserStore<TUser> : UserStore<TUser, IdentityRole, string, IdentityUserLogin, IdentityUserRole, IdentityUserClaim>, IUserStore<TUser>, IUserStore<TUser, string>, IDisposable where TUser : IdentityUser { // // Summary: // Default constuctor which uses a new instance of a default EntityyDbContext public UserStore(); // // Summary: // Constructor // // Parameters: // context: public UserStore(DbContext context); } }
csharp