private bool ExecuteTransaction(string psName) { DBTransaction db = new DBTransaction(); List <SqlParameter> ps = new List <SqlParameter>(); if (psName == "[golf].[pUpJornada]") { ps.Add(new SqlParameter("JornadaId", JornadaId)); } ps.Add(new SqlParameter("Fecha", Fecha)); ps.Add(new SqlParameter("EventoDeportivoId", EventoDeportivoId)); ps.Add(new SqlParameter("Descripcion", Descripcion.ToUpper())); ps.Add(new SqlParameter("NombreCorto", NombreCorto.ToUpper())); ps.Add(new SqlParameter("UsuarioId", UsuarioId)); db.ExecStoreProcedure(psName, ps); return(db.RowAffected > 0); }