/// <summary> /// Deprecated Method for adding a new object to the PaymentMasters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPaymentMasters(PaymentMaster paymentMaster) { base.AddObject("PaymentMasters", paymentMaster); }
/// <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; }