/// <summary> /// LoadByEmployeeId /// </summary> /// <param name="employeeId">employeeId</param> /// <returns>DataSet</returns> public DataSet LoadByEmployeeId(int employeeId) { // Add item CreateTableStructure(); // Load year list EmployeeInformationPayVacationDaysInformationListGateway employeeInformationPayVacationDaysInformationListGateway = new EmployeeInformationPayVacationDaysInformationListGateway(Data); employeeInformationPayVacationDaysInformationListGateway.ClearBeforeFill = false; employeeInformationPayVacationDaysInformationListGateway.LoadByEmployeeId(employeeId); employeeInformationPayVacationDaysInformationListGateway.ClearBeforeFill = true; return Data; }
// //////////////////////////////////////////////////////////////////////// // PUBLIC METHODS // /// <summary> /// LoadAndAddItem /// </summary> /// <returns>DataSet</returns> public DataSet Load() { // Add item CreateTableStructure(); // Load personal agency list EmployeeInformationPayVacationDaysInformationListGateway employeeInformationPayVacationDaysInformationListGateway = new EmployeeInformationPayVacationDaysInformationListGateway(Data); employeeInformationPayVacationDaysInformationListGateway.ClearBeforeFill = false; employeeInformationPayVacationDaysInformationListGateway.Load(); employeeInformationPayVacationDaysInformationListGateway.ClearBeforeFill = true; return Data; }