/// <summary> /// Create a new Equipment object. /// </summary> /// <param name="equipmentID">Initial value of the EquipmentID property.</param> /// <param name="name">Initial value of the Name property.</param> public static Equipment CreateEquipment(global::System.Int32 equipmentID, global::System.String name) { Equipment equipment = new Equipment(); equipment.EquipmentID = equipmentID; equipment.Name = name; return equipment; }
/// <summary> /// Deprecated Method for adding a new object to the Equipments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEquipments(Equipment equipment) { base.AddObject("Equipments", equipment); }