Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EquipmentTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEquipmentTypes(EquipmentType equipmentType)
 {
     base.AddObject("EquipmentTypes", equipmentType);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new EquipmentType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 public static EquipmentType CreateEquipmentType(global::System.Int32 id, global::System.String type)
 {
     EquipmentType equipmentType = new EquipmentType();
     equipmentType.ID = id;
     equipmentType.Type = type;
     return equipmentType;
 }