Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PaymentMasters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPaymentMasters(PaymentMaster paymentMaster)
 {
     base.AddObject("PaymentMasters", paymentMaster);
 }
Example #2
0
 /// <summary>
 /// Create a new PaymentMaster object.
 /// </summary>
 /// <param name="paymentMasterId">Initial value of the PaymentMasterId property.</param>
 /// <param name="paymentCardNumber">Initial value of the PaymentCardNumber property.</param>
 /// <param name="isValid">Initial value of the IsValid property.</param>
 public static PaymentMaster CreatePaymentMaster(global::System.Int32 paymentMasterId, global::System.Int64 paymentCardNumber, global::System.Boolean isValid)
 {
     PaymentMaster paymentMaster = new PaymentMaster();
     paymentMaster.PaymentMasterId = paymentMasterId;
     paymentMaster.PaymentCardNumber = paymentCardNumber;
     paymentMaster.IsValid = isValid;
     return paymentMaster;
 }