コード例 #1
0
 public ScheduleLogic(IScheduleContext Context, IEmployeeContext employeeContext, IShiftContext shiftContext, IAvailabilityContext availabilityContext)
 {
     _Context             = Context;
     _employeeContext     = employeeContext;
     _shiftContext        = shiftContext;
     _availabilityContext = availabilityContext;
 }
コード例 #2
0
 public ShiftRepo(Context contextType)
 {
     if (contextType == Context.Mssql)
     {
         iContext = new ShiftSqlContext();
     }
     else if (contextType == Context.Memory)
     {
         //iContext = MemoryContext;
     }
 }
コード例 #3
0
 public ShiftLogic(IShiftContext Context)
 {
     this.Context = Context;
 }
コード例 #4
0
 public ShiftRepository(IShiftContext shiftContext)
 {
     _shiftContext = shiftContext;
 }