Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sectors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSectors(Sector sector)
 {
     base.AddObject("Sectors", sector);
 }
Esempio n. 2
0
 /// <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;
 }