コード例 #1
0
ファイル: EduNuke1.Designer.cs プロジェクト: MSAS/edunuke
 /// <summary>
 /// Deprecated Method for adding a new object to the Batches EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBatches(Batch batch)
 {
     base.AddObject("Batches", batch);
 }
コード例 #2
0
ファイル: EduNuke1.Designer.cs プロジェクト: MSAS/edunuke
 /// <summary>
 /// Create a new Batch object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="endDate">Initial value of the EndDate property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="lastRollNo">Initial value of the LastRollNo property.</param>
 public static Batch CreateBatch(global::System.Int32 id, global::System.DateTime startDate, global::System.DateTime endDate, global::System.Single status, global::System.Int32 lastRollNo)
 {
     Batch batch = new Batch();
     batch.Id = id;
     batch.StartDate = startDate;
     batch.EndDate = endDate;
     batch.Status = status;
     batch.LastRollNo = lastRollNo;
     return batch;
 }