/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Reicpts EntitySet. /// </summary> public void AddToReicpts(Reicpt reicpt) { base.AddObject("Reicpts", reicpt); }