/// <summary> /// Deprecated Method for adding a new object to the Industry2 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToIndustry2(Industry2 industry2) { base.AddObject("Industry2", industry2); }
/// <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; }