示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Payments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPayments(Payment payment)
 {
     base.AddObject("Payments", payment);
 }
示例#2
0
 /// <summary>
 /// Create a new Payment object.
 /// </summary>
 /// <param name="paymentId">Initial value of the PaymentId property.</param>
 /// <param name="paymentCard">Initial value of the PaymentCard property.</param>
 public static Payment CreatePayment(global::System.Int32 paymentId, global::System.Int32 paymentCard)
 {
     Payment payment = new Payment();
     payment.PaymentId = paymentId;
     payment.PaymentCard = paymentCard;
     return payment;
 }