Пример #1
0
 public WorkflowStageRepository(RASContext rasContext)
 {
     if (rasContext == null)
     {
         throw new Exception("RAS Context can not be null.");
     }
     _RASContext = rasContext;
 }
Пример #2
0
 public TaskRepository(string pwaConnString, RASContext rasContext)
 {
     _PWAConnString = pwaConnString;
     _RASContext    = rasContext;
 }
 public DailyLeaveRepository(RASContext rasContext)
 {
     _RASContext = rasContext;
 }
 public HourlyMissionRepository(RASContext rasContext)
 {
     _RASContext = rasContext;
 }
Пример #5
0
 public HolidayRepository(RASContext rasContext)
 {
     //_PWAConnString = pwaConnString;
     _RASContext = rasContext;
 }
Пример #6
0
 public WorkHourRepository(RASContext rasContext)
 {
     //_PWAConnString = pwaConnString;
     _RASContext = rasContext;
 }
Пример #7
0
 public OrgUnitRepository(RASContext rasContext)
 {
     //_PWAConnString = pwaConnString;
     _RASContext = rasContext;
 }
Пример #8
0
        public UnitOfWork()
        {
            _PWAConnString = ConfigurationManager.ConnectionStrings["PWAConnectionString"].ConnectionString.ToString();

            _Context = new RASContext();
        }
 public DisplayPeriodRepository(RASContext rasContext)
 {
     //_PWAConnString = pwaConnString;
     _RASContext = rasContext;
 }
Пример #10
0
 public UnitOfWork(RASContext context)
 {
     this._Context  = context;
     _PWAConnString = context.Database.GetDbConnection().ConnectionString;
 }
Пример #11
0
 public CalendarRepository(RASContext rasContext)
 {
     //_PWAConnString = pwaConnString;
     _RASContext = rasContext;
 }
Пример #12
0
 public AssignmentRepository(string pwaConnString, RASContext rasContext)
 {
     _PWAConnString = pwaConnString;
     _RASContext    = rasContext;
 }