public void Execute(Entities.Filters.Game.UpdateDates filter)
{
using (DbCommand cmd = _db.GetStoredProcCommand("Game_Update"))
{
_db.AddInParameter(cmd, "@GameID", DbType.Int32, filter.GameID);
_db.AddInParameter(cmd, "@PlayedLast", DbType.DateTime, filter.PlayedLast);
_db.AddInParameter(cmd, "@GameOver", DbType.DateTime, filter.GameOver);
_db.ExecuteNonQuery(cmd);
}
}