Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EquipmentTypeAndCatalogMappings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEquipmentTypeAndCatalogMappings(EquipmentTypeAndCatalogMapping equipmentTypeAndCatalogMapping)
 {
     base.AddObject("EquipmentTypeAndCatalogMappings", equipmentTypeAndCatalogMapping);
 }