Ejemplo n.º 1
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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Equipment object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="productName">Initial value of the ProductName property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="equipmentTypeID">Initial value of the EquipmentTypeID property.</param>
 public static Equipment CreateEquipment(global::System.Int32 id, global::System.String productName, global::System.String status, global::System.Int32 equipmentTypeID)
 {
     Equipment equipment = new Equipment();
     equipment.ID = id;
     equipment.ProductName = productName;
     equipment.Status = status;
     equipment.EquipmentTypeID = equipmentTypeID;
     return equipment;
 }