public WorkflowStageRepository(RASContext rasContext) { if (rasContext == null) { throw new Exception("RAS Context can not be null."); } _RASContext = rasContext; }
public TaskRepository(string pwaConnString, RASContext rasContext) { _PWAConnString = pwaConnString; _RASContext = rasContext; }
public DailyLeaveRepository(RASContext rasContext) { _RASContext = rasContext; }
public HourlyMissionRepository(RASContext rasContext) { _RASContext = rasContext; }
public HolidayRepository(RASContext rasContext) { //_PWAConnString = pwaConnString; _RASContext = rasContext; }
public WorkHourRepository(RASContext rasContext) { //_PWAConnString = pwaConnString; _RASContext = rasContext; }
public OrgUnitRepository(RASContext rasContext) { //_PWAConnString = pwaConnString; _RASContext = rasContext; }
public UnitOfWork() { _PWAConnString = ConfigurationManager.ConnectionStrings["PWAConnectionString"].ConnectionString.ToString(); _Context = new RASContext(); }
public DisplayPeriodRepository(RASContext rasContext) { //_PWAConnString = pwaConnString; _RASContext = rasContext; }
public UnitOfWork(RASContext context) { this._Context = context; _PWAConnString = context.Database.GetDbConnection().ConnectionString; }
public CalendarRepository(RASContext rasContext) { //_PWAConnString = pwaConnString; _RASContext = rasContext; }
public AssignmentRepository(string pwaConnString, RASContext rasContext) { _PWAConnString = pwaConnString; _RASContext = rasContext; }