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