Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderPayments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderPayments(OrderPayment orderPayment)
 {
     base.AddObject("OrderPayments", orderPayment);
 }
Exemple #2
0
 /// <summary>
 /// Create a new OrderPayment object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="orderId">Initial value of the OrderId property.</param>
 /// <param name="paymentTypeId">Initial value of the PaymentTypeId property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param>
 /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param>
 /// <param name="money">Initial value of the Money property.</param>
 public static OrderPayment CreateOrderPayment(global::System.Int32 id, global::System.Int32 orderId, global::System.Int32 paymentTypeId, global::System.DateTime createdDate, global::System.Int32 createdBy, global::System.Int32 status, global::System.DateTime lastModifiedDate, global::System.Int32 lastModifiedBy, global::System.Double money)
 {
     OrderPayment orderPayment = new OrderPayment();
     orderPayment.Id = id;
     orderPayment.OrderId = orderId;
     orderPayment.PaymentTypeId = paymentTypeId;
     orderPayment.CreatedDate = createdDate;
     orderPayment.CreatedBy = createdBy;
     orderPayment.Status = status;
     orderPayment.LastModifiedDate = lastModifiedDate;
     orderPayment.LastModifiedBy = lastModifiedBy;
     orderPayment.Money = money;
     return orderPayment;
 }