コード例 #1
0
 /// <summary>
 /// Create a new Reicpt object.
 /// </summary>
 /// <param name="receiptId">Initial value of ReceiptId.</param>
 /// <param name="departmentId">Initial value of DepartmentId.</param>
 /// <param name="purchaseOrderId">Initial value of PurchaseOrderId.</param>
 public static Reicpt CreateReicpt(string receiptId, long departmentId, string purchaseOrderId)
 {
     Reicpt reicpt = new Reicpt();
     reicpt.ReceiptId = receiptId;
     reicpt.DepartmentId = departmentId;
     reicpt.PurchaseOrderId = purchaseOrderId;
     return reicpt;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Reicpts EntitySet.
 /// </summary>
 public void AddToReicpts(Reicpt reicpt)
 {
     base.AddObject("Reicpts", reicpt);
 }