Example #1
0
		public int UpdateDutyInfoList(DataSet dutyInfoList)
		{
			int rowsAffected = 0;

			using(DutyInfoDA dutyInfoDA = new DutyInfoDA())
			{
				rowsAffected = dutyInfoDA.UpdateDutyInfo(dutyInfoList);
			}

			return rowsAffected;
		}
Example #2
0
		public int UpdateDutyInfo(DateTime getHisDutyDate,bool isToLoadCurDuty)
		{
			using ( DutyInfoDA dutyInfo = new DutyInfoDA() )
			{
				return dutyInfo.UpdateDutyInfo(getHisDutyDate,isToLoadCurDuty);
			}
		}