Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EquipmentCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEquipmentCategories(EquipmentCategory equipmentCategory)
 {
     base.AddObject("EquipmentCategories", equipmentCategory);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new EquipmentCategory object.
 /// </summary>
 /// <param name="equipmentCategoryId">Initial value of the EquipmentCategoryId property.</param>
 /// <param name="equipmentCategoryName">Initial value of the EquipmentCategoryName property.</param>
 /// <param name="isSerialized">Initial value of the IsSerialized property.</param>
 public static EquipmentCategory CreateEquipmentCategory(global::System.Int32 equipmentCategoryId, global::System.String equipmentCategoryName, global::System.Boolean isSerialized)
 {
     EquipmentCategory equipmentCategory = new EquipmentCategory();
     equipmentCategory.EquipmentCategoryId = equipmentCategoryId;
     equipmentCategory.EquipmentCategoryName = equipmentCategoryName;
     equipmentCategory.IsSerialized = isSerialized;
     return equipmentCategory;
 }