/// <summary> /// 문서 및 각 테이블의 주요키 리턴 /// </summary> /// <param name="psPre"></param> /// <returns></returns> public string GetAttachNo(string psPrefix) { string sRet = ""; //using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Suppress)) //{ Dac_Base_FileUpload dac = new Dac_Base_FileUpload(); sRet = dac.GetAttachNo(psPrefix); // scope.Complete(); //} return(sRet); }
/// <summary> /// 업로드된 정보 추출 /// </summary> /// <param name="asAttachNo"></param> /// <returns></returns> public DataSet GetFileUploaded(string asAttachNo) { DataSet lDS = new DataSet(); //using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Suppress)) //{ Dac_Base_FileUpload dac = new Dac_Base_FileUpload(); lDS = dac.GetFileUploaded(asAttachNo); // scope.Complete(); //} return(lDS); }
public int AddFileInfo(string[,] psaFileInfo) { int iRet = 0; //using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Suppress)) //{ Dac_Base_FileUpload dac = new Dac_Base_FileUpload(); iRet = dac.AddFileInfo(psaFileInfo); //scope.Complete(); //} return(iRet); }
public int RemoveFileInfo(string psAttachNo, string psFullFileName) { int iRet = 0; int iSerNo = 0; //using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Suppress)) //{ Dac_Base_FileUpload dac = new Dac_Base_FileUpload(); iSerNo = dac.GetDelFileInfo(psAttachNo, psFullFileName); iRet = dac.DelFileInfo(psAttachNo, iSerNo); dac.UpdateFileSerNo(psAttachNo, iSerNo); // scope.Complete(); //} return(iRet); }