/// <summary> /// Deprecated Method for adding a new object to the Slots EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSlots(Slot slot) { base.AddObject("Slots", slot); }
/// <summary> /// Create a new Slot object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="slots">Initial value of the slots property.</param> /// <param name="roomAssigned">Initial value of the roomAssigned property.</param> public static Slot CreateSlot(global::System.Int32 id, global::System.Int32 slots, global::System.Int32 roomAssigned) { Slot slot = new Slot(); slot.id = id; slot.slots = slots; slot.roomAssigned = roomAssigned; return slot; }