public UserRoleRepository(SensateSqlContext context, IUserRepository urepo, RoleManager <SensateRole> roles) :
     base(context)
 {
     this._users     = urepo;
     this._userRoles = context.UserRoles;
     this._roles     = roles;
 }
 protected AbstractSqlRepository(SensateSqlContext context)
 {
     this._sqlContext = context;
     this.Data        = context.Set <T>();
 }
示例#3
0
 public CachedApiKeyRepository(SensateSqlContext context, ICacheStrategy <string> cache) : base(context)
 {
     this.m_cache = cache;
 }
示例#4
0
 public ChangeEmailTokenRepository(SensateSqlContext context) : base(context)
 {
     this._rng = new Random(StaticRandom.Next());
 }
 public PasswordResetTokenRepository(SensateSqlContext context) : base(context)
 {
     this._rng = new Random(StaticRandom.Next());
 }
 public ApiKeyRepository(SensateSqlContext context) : base(context)
 {
     this._rng = new Random(StaticRandom.Next());
 }
示例#7
0
 public UserRepository(SensateSqlContext context, UserManager <SensateUser> manager) : base(context)
 {
     this._manager = manager;
 }
 public ChangePhoneNumberRepository(SensateSqlContext context) : base(context)
 {
     this._rng = new Random(StaticRandom.Next());
 }
示例#9
0
 public CachedUserRepository(SensateSqlContext context, UserManager <SensateUser> manager,
                             ICacheStrategy <string> cache) : base(context, manager)
 {
     this._cache = cache;
 }
 public AuditLogRepository(SensateSqlContext ctx) : base(ctx)
 {
 }