/// <summary> /// Create a new CreditCardPayment object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="creditCardId">Initial value of the CreditCardId property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="productName">Initial value of the ProductName property.</param> public static CreditCardPayment CreateCreditCardPayment(global::System.Int32 id, global::System.Int32 creditCardId, global::System.DateTime created, global::System.String productName) { CreditCardPayment creditCardPayment = new CreditCardPayment(); creditCardPayment.Id = id; creditCardPayment.CreditCardId = creditCardId; creditCardPayment.Created = created; creditCardPayment.ProductName = productName; return creditCardPayment; }
/// <summary> /// Deprecated Method for adding a new object to the CreditCardPayments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCreditCardPayments(CreditCardPayment creditCardPayment) { base.AddObject("CreditCardPayments", creditCardPayment); }