public static object OpenTransactionEntityModel(Enumere.DataBase pBase) { try { return(Galatee.Entity.Model.CommonProcedures.OpenTransaction(pBase)); } catch (Exception ex) { throw ex; } }
public static SqlCommand OpenTransaction(Enumere.DataBase pBase) { try { switch (pBase) { case Enumere.DataBase.Galadb: return(Tools.Utility.OpenTransation(Session.GetSqlConnexionString())); case Enumere.DataBase.Abo07: return(Tools.Utility.OpenTransation(Session.GetSqlConnexionStringAbo07())); default: return(Tools.Utility.OpenTransation(Session.GetSqlConnexionString())); } } catch (Exception ex) { throw ex; } }