Chris Carter caught five passes for 91 yards and one touchdown and Dean Rogers also caught a TD pass for the Aggies (3-3).
Jarrett Dunston was 11 of 19 for 152 yards and two TDs and receiver Lerenzo Barr caught a 31-yard touchdown pass in the third quarter for the Rams (0-6).
Six different UC Davis players scored a touchdown, including Joseph Gray who returned a kickoff 81 yards in the third quarter.
Denham tossed two touchdown passes in the first quarter and another in second as the Aggies rolled to a 38-0 halftime lead.
The Rams lost three fumbles in the first half, including a mishandled handoff that was recovered and returned 34 yards for a score by Eric Sobotka.