//--------------------------------------------------------------------------- public void CloseSession(int nIdSession) { CInfoSessionTiag.OnCloseSession(nIdSession); CResultDataSet result = new CResultDataSet(); CUtilTimosTiag util = CUtilTimosTiag.GetUtilTiagForSession(nIdSession); if (util != null) { util.OnCloseSession(); } CSessionClient session = GetSession(nIdSession, result); if (session != null) { session.CloseSession(); } }
//--------------------------------------------------------------------------- public System.Data.DataSet SetParametre(int nIdSession, string strNomParametre, string strValeurParametre) { CInfoSessionTiag.RenouvelleSession(nIdSession); return(CUtilTimosTiag.GetUtilTiagForSession(nIdSession).SetParametre(strNomParametre, strValeurParametre)); }
//--------------------------------------------------------------------------- public System.Data.DataSet GetParametersDescription(int nIdSession) { CInfoSessionTiag.RenouvelleSession(nIdSession); return(CUtilTimosTiag.GetUtilTiagForSession(nIdSession).GetParametersDescription()); }
//--------------------------------------------------------------------------- public System.Data.DataSet GetKeysEntityFromSearch(int nIdSession, string strType, string[] strChamps, object[] valeurs) { CInfoSessionTiag.RenouvelleSession(nIdSession); return(CUtilTimosTiag.GetUtilTiagForSession(nIdSession).GetKeysEntityFromSearch(strType, strChamps, valeurs)); }
//--------------------------------------------------------------------------- public System.Data.DataSet GetEntityFromKeys(int nIdSession, string strType, object[] keys) { CInfoSessionTiag.RenouvelleSession(nIdSession); return(CUtilTimosTiag.GetUtilTiagForSession(nIdSession).GetEntityFromKeys(strType, keys)); }
//--------------------------------------------------------------------------- public System.Data.DataSet GetDataStructure(int nIdSession) { CInfoSessionTiag.RenouvelleSession(nIdSession); return(CUtilTimosTiag.GetUtilTiagForSession(nIdSession).GetStructureDonnees()); }
//--------------------------------------------------------------------------- public System.Data.DataSet ChangeData(int nIdSession, System.Data.DataSet Donnees) { CInfoSessionTiag.RenouvelleSession(nIdSession); return(CUtilTimosTiag.GetUtilTiagForSession(nIdSession).ChangeData(Donnees)); }