public List <Premio> GetPremiosBy(String puntos) { SqlCommand command = new SqlCommand(); String query = "select p.* from " + table + " p where 1 = 1 "; query += SqlHelper.AddFilterLessOrEqualsThan("p", "Premio_Puntos", puntos, command); command.CommandText = query; return(FromRowsToPremios(Conexion.GetData(command))); }