/// <summary> /// Create a new EquipmentTypeAndSNEMapping object. /// </summary> /// <param name="equipmentTypeId">Initial value of the EquipmentTypeId property.</param> /// <param name="sNECode">Initial value of the SNECode property.</param> public static EquipmentTypeAndSNEMapping CreateEquipmentTypeAndSNEMapping(global::System.Int32 equipmentTypeId, global::System.String sNECode) { EquipmentTypeAndSNEMapping equipmentTypeAndSNEMapping = new EquipmentTypeAndSNEMapping(); equipmentTypeAndSNEMapping.EquipmentTypeId = equipmentTypeId; equipmentTypeAndSNEMapping.SNECode = sNECode; return equipmentTypeAndSNEMapping; }
/// <summary> /// Deprecated Method for adding a new object to the EquipmentTypeAndSNEMappings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEquipmentTypeAndSNEMappings(EquipmentTypeAndSNEMapping equipmentTypeAndSNEMapping) { base.AddObject("EquipmentTypeAndSNEMappings", equipmentTypeAndSNEMapping); }