/// <summary> /// Create a new RoomFacility object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="facilityID">Initial value of the FacilityID property.</param> /// <param name="roomID">Initial value of the RoomID property.</param> public static RoomFacility CreateRoomFacility(global::System.Guid id, global::System.Guid facilityID, global::System.Guid roomID) { RoomFacility roomFacility = new RoomFacility(); roomFacility.ID = id; roomFacility.FacilityID = facilityID; roomFacility.RoomID = roomID; return roomFacility; }
/// <summary> /// Deprecated Method for adding a new object to the RoomFacilities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRoomFacilities(RoomFacility roomFacility) { base.AddObject("RoomFacilities", roomFacility); }