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