コード例 #1
0
 public GenericRepository(DataEntities.Models.TimeTable context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
コード例 #2
0
        public SubjectOfferingRepository(DataEntities.Models.TimeTable context)
        {
            SchoolID = context.tblUsers.Where(u => u.Email.Equals(HttpContext.Current.User.Identity.Name)).FirstOrDefault().SchoolID;

            this.context = context;
        }
コード例 #3
0
 public SchoolRepository(DataEntities.Models.TimeTable context)
 {
     this.context = context;
 }