Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PurchasePayments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPurchasePayments(PurchasePayment purchasePayment)
 {
     base.AddObject("PurchasePayments", purchasePayment);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new PurchasePayment object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="paidAmount">Initial value of the PaidAmount property.</param>
 /// <param name="paymentDate">Initial value of the PaymentDate property.</param>
 /// <param name="purchaseId">Initial value of the PurchaseId property.</param>
 /// <param name="employeeId">Initial value of the EmployeeId property.</param>
 /// <param name="systemId">Initial value of the SystemId property.</param>
 public static PurchasePayment CreatePurchasePayment(global::System.Guid id, global::System.Int16 type, global::System.Double paidAmount, global::System.DateTime paymentDate, global::System.Guid purchaseId, global::System.Guid employeeId, global::System.String systemId)
 {
     PurchasePayment purchasePayment = new PurchasePayment();
     purchasePayment.Id = id;
     purchasePayment.Type = type;
     purchasePayment.PaidAmount = paidAmount;
     purchasePayment.PaymentDate = paymentDate;
     purchasePayment.PurchaseId = purchaseId;
     purchasePayment.EmployeeId = employeeId;
     purchasePayment.SystemId = systemId;
     return purchasePayment;
 }