/// <summary> /// Deprecated Method for adding a new object to the Sectors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSectors(Sector sector) { base.AddObject("Sectors", sector); }
/// <summary> /// Create a new Sector object. /// </summary> /// <param name="sectorID">Initial value of the SectorID property.</param> public static Sector CreateSector(global::System.Int32 sectorID) { Sector sector = new Sector(); sector.SectorID = sectorID; return sector; }