/// <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="id">Initial value of the Id property.</param> /// <param name="sectorName">Initial value of the SectorName property.</param> public static Sector CreateSector(global::System.Int32 id, global::System.String sectorName) { Sector sector = new Sector(); sector.Id = id; sector.SectorName = sectorName; return sector; }