/// <summary> /// Deprecated Method for adding a new object to the Industries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToIndustries(Industry industry) { base.AddObject("Industries", industry); }
/// <summary> /// Create a new Industry object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="sectorId">Initial value of the SectorId property.</param> /// <param name="industryName">Initial value of the IndustryName property.</param> public static Industry CreateIndustry(global::System.Int32 id, global::System.Int32 sectorId, global::System.String industryName) { Industry industry = new Industry(); industry.Id = id; industry.SectorId = sectorId; industry.IndustryName = industryName; return industry; }