public static TransitionStats LoadTransitionStatsByThermostatId(System.Int32 thermostatId) { return(TransitionStats.LoadTransitionStats("LoadTransitionStatsByThermostatId", CommandType.StoredProcedure, new SqlParameter[] { new SqlParameter("@ThermostatId", thermostatId) })); }
public static TransitionStats LoadAllTransitionStats() { return(TransitionStats.LoadTransitionStats("LoadTransitionStatsAll", CommandType.StoredProcedure, null)); }