예제 #1
0
        public UnitOfWork(CVProjectContext context)
        {
            _dbContext = context;

            if (context == null)
            {
                throw new ArgumentNullException("Db Context Can Not Be Null");
            }

            _skill = CreateRepo <Skill>();
            _user  = CreateRepo <User>();
        }
예제 #2
0
 public RepositoryBase(CVProjectContext context)
 {
     _context = context;
     _dbSet   = _context.Set <TModel>();
 }
예제 #3
0
 public MaterialRepository(CVProjectContext context)
 {
     this.context = context;
 }
 public WorkExperienceRepository(CVProjectContext context)
 {
     this.context = context;
 }
예제 #5
0
 public CourseRepository(CVProjectContext context)
 {
     this.context = context;
 }
예제 #6
0
 public TechnologyRepository(CVProjectContext context)
 {
     this.context = context;
 }
예제 #7
0
 public EducationRepository(CVProjectContext context)
 {
     this.context = context;
 }
예제 #8
0
 public SkillRepository(CVProjectContext context)
 {
     this.context = context;
 }