/// <summary> /// Deprecated Method for adding a new object to the ReservationJeu EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReservationJeu(Reservation reservation) { base.AddObject("ReservationJeu", reservation); }
/// <summary> /// Create a new Reservation object. /// </summary> /// <param name="idReservation">Initial value of the idReservation property.</param> /// <param name="heureDebut">Initial value of the heureDebut property.</param> /// <param name="heureFin">Initial value of the heureFin property.</param> public static Reservation CreateReservation(global::System.Int32 idReservation, global::System.TimeSpan heureDebut, global::System.TimeSpan heureFin) { Reservation reservation = new Reservation(); reservation.idReservation = idReservation; reservation.heureDebut = heureDebut; reservation.heureFin = heureFin; return reservation; }