/// <summary> /// GetAllType /// : 측정단계 드롭다운리스트 추출 /// </summary> /// <returns></returns> public DataSet GetAllType() { DataSet lDS = new DataSet(); using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Suppress)) { Dac_ctl_ctl4100 dac = new Dac_ctl_ctl4100(); lDS = dac.GetAllType(); scope.Complete(); } return(lDS); }
/// <summary> /// GetSearchCode /// : 평가등급 수정시 검색 /// </summary> /// <param name="asCodeID"></param> /// <returns></returns> public DataSet GetSearchCode(string asCodeID) { DataSet lDS = new DataSet(); using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Suppress)) { Dac_ctl_ctl4100 dac = new Dac_ctl_ctl4100(); lDS = dac.GetSearchCode(asCodeID); scope.Complete(); } return(lDS); }
/// <summary> /// UpdateThresholdSeq /// : 평가등급 삭제 이전에 시퀀스 조정 /// : 항상 정해진 순서로 들어가야 하므로 현재처럼 조정한후 삭제하도록 한다. /// </summary> /// <param name="asCodeID"></param> /// <returns></returns> public int UpdateThresholdSeq(string asCodeID) { int iRet = 0; //using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Suppress)) //{ Dac_ctl_ctl4100 dac = new Dac_ctl_ctl4100(); iRet = dac.UpdateThresholdSeq(asCodeID); // scope.Complete(); //} return(iRet); }
/// <summary> /// UpdateThreshold /// : 평가등급관리 수정 /// </summary> /// <param name="asCodeID"></param> /// <param name="asThresholdName"></param> /// <param name="asMinValue"></param> /// <param name="asColor"></param> /// <param name="asImagePath"></param> /// <returns></returns> public int UpdateThreshold(string asCodeID, string asThresholdName, string asMinValue, string asColor, string asImagePath, string asPoint) { int iRet = 0; //using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Suppress)) //{ Dac_ctl_ctl4100 dac = new Dac_ctl_ctl4100(); iRet += dac.UpdateThreshold(asCodeID, asThresholdName, asMinValue, asColor, asImagePath, asPoint); // scope.Complete(); //} return(iRet); }