Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MachineTypeIndustries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMachineTypeIndustries(MachineTypeIndustry machineTypeIndustry)
 {
     base.AddObject("MachineTypeIndustries", machineTypeIndustry);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new MachineTypeIndustry object.
 /// </summary>
 /// <param name="machineTypeIndustryID">Initial value of the MachineTypeIndustryID property.</param>
 /// <param name="machineTypeID">Initial value of the MachineTypeID property.</param>
 /// <param name="industryID">Initial value of the IndustryID property.</param>
 public static MachineTypeIndustry CreateMachineTypeIndustry(global::System.Int32 machineTypeIndustryID, global::System.Int32 machineTypeID, global::System.Int32 industryID)
 {
     MachineTypeIndustry machineTypeIndustry = new MachineTypeIndustry();
     machineTypeIndustry.MachineTypeIndustryID = machineTypeIndustryID;
     machineTypeIndustry.MachineTypeID = machineTypeID;
     machineTypeIndustry.IndustryID = industryID;
     return machineTypeIndustry;
 }