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

            _Context = new RASContext();
        }
 public DisplayPeriodRepository(RASContext rasContext)
 {
     //_PWAConnString = pwaConnString;
     _RASContext = rasContext;
 }
Exemplo n.º 10
0
 public UnitOfWork(RASContext context)
 {
     this._Context  = context;
     _PWAConnString = context.Database.GetDbConnection().ConnectionString;
 }
Exemplo n.º 11
0
 public CalendarRepository(RASContext rasContext)
 {
     //_PWAConnString = pwaConnString;
     _RASContext = rasContext;
 }
Exemplo n.º 12
0
 public AssignmentRepository(string pwaConnString, RASContext rasContext)
 {
     _PWAConnString = pwaConnString;
     _RASContext    = rasContext;
 }