public FeedEventRepository(IDbSetFactory dbSetFactory)
     : base(dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <FeedEvent>();
     _dbSetFactory = dbSetFactory;
 }
示例#2
0
 public NoteAccessor(IDbSetFactory dbSetFactory) : base(dbSetFactory)
 {
     this._pins  = dbSetFactory.CreateDbSet <Models.Pin>();
     this._notes = dbSetFactory.CreateDbSet <Models.Note>();
     this._users = dbSetFactory.CreateDbSet <Models.User>();
 }
示例#3
0
 public UserRepository(IDbSetFactory dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <User>();
     _dbSetFactory = dbSetFactory;
 }
 public ActivityRepository(IDbSetFactory dbSetFactory)
     : base(dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <Activity>();
     _dbSetFactory = dbSetFactory;
 }
示例#5
0
 protected Repository(IDbSetFactory dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <T>();
     _dbSetFactory = dbSetFactory;
 }
示例#6
0
 public MoodRepository(IDbSetFactory dbSetFactory)
     : base(dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <Mood>();
     _dbSetFactory = dbSetFactory;
 }
示例#7
0
 public GroupRepository(IDbSetFactory dbSetFactory)
     : base(dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <Group>();
     _dbSetFactory = dbSetFactory;
 }
示例#8
0
 public EndOfDayReportRepository(IDbSetFactory dbSetFactory)
     : base(dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <EndOfDayReport>();
     _dbSetFactory = dbSetFactory;
 }
示例#9
0
 public BadgeRepository(IDbSetFactory dbSetFactory)
     : base(dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <Badge>();
     _dbSetFactory = dbSetFactory;
 }
示例#10
0
 public GeoPointRepository(IDbSetFactory dbSetFactory)
     : base(dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <GeoPoint>();
     _dbSetFactory = dbSetFactory;
 }
示例#11
0
 public EntityRepository(IDbSetFactory dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <T>();
     _dbSetFactory = dbSetFactory;
 }
 public MembershipRepository(IDbSetFactory dbSetFactory)
     : base(dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <Membership>();
     _dbSetFactory = dbSetFactory;
 }
示例#13
0
 public ChallengeRepository(IDbSetFactory dbSetFactory)
     : base(dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <Challenge>();
     _dbSetFactory = dbSetFactory;
 }
示例#14
0
 public Repository(IDbSetFactory setFactory)
 {
     this.Set = setFactory.CreateDbSet <T>();
     factory  = setFactory;
 }
示例#15
0
 public GoalRepository(IDbSetFactory dbSetFactory)
     : base(dbSetFactory)
 {
     _dbSet        = dbSetFactory.CreateDbSet <Goal>();
     _dbSetFactory = dbSetFactory;
 }
示例#16
0
 public UserAccessor(IDbSetFactory dbSetFactory) : base(dbSetFactory)
 {
     this._users = dbSetFactory.CreateDbSet <Models.User>();
 }