示例#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(Sectors sectors)
 {
     base.AddObject("Sectors", sectors);
 }
示例#2
0
 /// <summary>
 /// Create a new Sectors object.
 /// </summary>
 /// <param name="sectorID">Initial value of the SectorID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Sectors CreateSectors(global::System.Int32 sectorID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     Sectors sectors = new Sectors();
     sectors.SectorID = sectorID;
     sectors.AddDate = addDate;
     sectors.RowVersion = rowVersion;
     return sectors;
 }