Пример #1
0
 /// <summary>
 /// Assigns the specified odometer to the current vehicle.
 /// </summary>
 /// <param name="odometro"></param>
 public virtual void AddOdometro(MovOdometroVehiculo odometro)
 {
     Odometros.Add(odometro);
 }
Пример #2
0
        /// <summary>
        /// Removes the specified odometer from the vehicle.
        /// </summary>
        /// <param name="odometro"></param>
        public virtual void RemoveOdometro(MovOdometroVehiculo odometro)
        {
            Odometros.Remove(odometro);

            odometro.Vehiculo = null;
        }