/// <summary> /// Deprecated Method for adding a new object to the Vehicules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVehicules(Vehicule vehicule) { base.AddObject("Vehicules", vehicule); }
/// <summary> /// Create a new Vehicule object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="nom">Initial value of the Nom property.</param> /// <param name="sessions_id">Initial value of the Sessions_id property.</param> public static Vehicule CreateVehicule(global::System.Int32 id, global::System.String nom, global::System.Int32 sessions_id) { Vehicule vehicule = new Vehicule(); vehicule.Id = id; vehicule.Nom = nom; vehicule.Sessions_id = sessions_id; return vehicule; }