Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Industry2 EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIndustry2(Industry2 industry2)
 {
     base.AddObject("Industry2", industry2);
 }
Example #2
0
 /// <summary>
 /// Create a new Industry2 object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Industry2 CreateIndustry2(global::System.Int32 id, global::System.String name)
 {
     Industry2 industry2 = new Industry2();
     industry2.Id = id;
     industry2.Name = name;
     return industry2;
 }