コード例 #1
0
ファイル: EduNuke1.Designer.cs プロジェクト: MSAS/edunuke
 /// <summary>
 /// Create a new ItemRequisition object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="receivedQuantity">Initial value of the ReceivedQuantity property.</param>
 /// <param name="dateOfRequisition">Initial value of the DateOfRequisition property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="requestedQuantity">Initial value of the RequestedQuantity property.</param>
 /// <param name="requistionNo">Initial value of the RequistionNo property.</param>
 public static ItemRequisition CreateItemRequisition(global::System.Int32 id, global::System.Int32 receivedQuantity, global::System.DateTime dateOfRequisition, global::System.String status, global::System.Int32 requestedQuantity, global::System.String requistionNo)
 {
     ItemRequisition itemRequisition = new ItemRequisition();
     itemRequisition.Id = id;
     itemRequisition.ReceivedQuantity = receivedQuantity;
     itemRequisition.DateOfRequisition = dateOfRequisition;
     itemRequisition.Status = status;
     itemRequisition.RequestedQuantity = requestedQuantity;
     itemRequisition.RequistionNo = requistionNo;
     return itemRequisition;
 }
コード例 #2
0
ファイル: EduNuke1.Designer.cs プロジェクト: MSAS/edunuke
 /// <summary>
 /// Deprecated Method for adding a new object to the ItemRequisitions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToItemRequisitions(ItemRequisition itemRequisition)
 {
     base.AddObject("ItemRequisitions", itemRequisition);
 }