예제 #1
0
        public EmployeeService()
        {
            var context = new IMContext();
            var unit    = new UnitOfWork(context);

            _employeeService = new Repository <Employee>(context, unit);
        }
예제 #2
0
 public GroupRepository(IMContext context, ReportException exHandler)
     : base(context, exHandler)
 {
 }
 public GenericRepository(IMContext context, ReportException exHandler)
 {
     this.context   = context;
     this.exHandler = exHandler;
     this.dbSet     = context.Set <TEntity>();
 }
예제 #4
0
 public DocumentRepository(IMContext context, ReportException exHandler) : base(context, exHandler)
 {
 }