コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <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
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <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;
 }