Example #1
0
 /// <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;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Equipments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEquipments(Equipment equipment)
 {
     base.AddObject("Equipments", equipment);
 }