Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EquipmentClasses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEquipmentClasses(EquipmentClass equipmentClass)
 {
     base.AddObject("EquipmentClasses", equipmentClass);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new EquipmentClass object.
 /// </summary>
 /// <param name="equipmentClassID">Initial value of the EquipmentClassID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static EquipmentClass CreateEquipmentClass(global::System.Int32 equipmentClassID, global::System.String name)
 {
     EquipmentClass equipmentClass = new EquipmentClass();
     equipmentClass.EquipmentClassID = equipmentClassID;
     equipmentClass.Name = name;
     return equipmentClass;
 }