/// <summary> /// Deprecated Method for adding a new object to the SectorGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSectorGroups(SectorGroup sectorGroup) { base.AddObject("SectorGroups", sectorGroup); }
/// <summary> /// Create a new SectorGroup object. /// </summary> /// <param name="sectorGroupID">Initial value of the SectorGroupID property.</param> /// <param name="sectorGroupName">Initial value of the SectorGroupName property.</param> public static SectorGroup CreateSectorGroup(global::System.Int32 sectorGroupID, global::System.String sectorGroupName) { SectorGroup sectorGroup = new SectorGroup(); sectorGroup.SectorGroupID = sectorGroupID; sectorGroup.SectorGroupName = sectorGroupName; return sectorGroup; }