public String QryFastStr(String InStr) { intFacade2GJBA oFacade; try { oFacade = new csQueryFastSQL(InStr); oFacade.GenerateScript(); return(oFacade.GetQuery()); } catch (Exception e) { csRespon csRe = new csRespon(); csRe.SetResponOFF(1001, e.Message.ToString()); return(csRe.GetResponInXmlString()); } }
public String EjectAsyncNew(int In_IdCase, long In_IdWI, string In_User) { intFacadeAsyn2GJBA oFacade; try { //oFacade = new csAsynchTaskBA(); //oFacade.AsynchExecutionNew(In_IdCase, In_IdWI, In_User); return("Version NO ACTIVA..."); //"1-Reintento de asíncrona ejecutado."; } catch (Exception e) { csRespon csRe = new csRespon(); csRe.SetResponOFF(1001, e.Message.ToString()); return(csRe.GetResponInXmlString()); } }
public DataSet QryXMLStrByDS(string InStr) { intFacade2GJBA oFacade; try { oFacade = new csQueryXMLSQL(InStr); oFacade.LoadDocXML(); oFacade.GenerateScript(); return(oFacade.RunScriptDS()); } catch (Exception e) { csRespon csRe = new csRespon(); csRe.SetResponOFF(1001, e.Message.ToString()); return(csRe.GetResponInDataSet()); } }