/// <summary> /// Create a new EquipmentTypeAndCatalogMapping object. /// </summary> /// <param name="equipmentTypeId">Initial value of the EquipmentTypeId property.</param> /// <param name="equipmentCatalogId">Initial value of the EquipmentCatalogId property.</param> public static EquipmentTypeAndCatalogMapping CreateEquipmentTypeAndCatalogMapping(global::System.Int32 equipmentTypeId, global::System.Int32 equipmentCatalogId) { EquipmentTypeAndCatalogMapping equipmentTypeAndCatalogMapping = new EquipmentTypeAndCatalogMapping(); equipmentTypeAndCatalogMapping.EquipmentTypeId = equipmentTypeId; equipmentTypeAndCatalogMapping.EquipmentCatalogId = equipmentCatalogId; return equipmentTypeAndCatalogMapping; }
/// <summary> /// Deprecated Method for adding a new object to the EquipmentTypeAndCatalogMappings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEquipmentTypeAndCatalogMappings(EquipmentTypeAndCatalogMapping equipmentTypeAndCatalogMapping) { base.AddObject("EquipmentTypeAndCatalogMappings", equipmentTypeAndCatalogMapping); }