/// <summary> /// Deprecated Method for adding a new object to the Credit_Card EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCredit_Card(Credit_Card credit_Card) { base.AddObject("Credit_Card", credit_Card); }
/// <summary> /// Create a new Credit_Card object. /// </summary> /// <param name="credit_card_no">Initial value of the credit_card_no property.</param> /// <param name="monthly_payment_date">Initial value of the monthly_payment_date property.</param> /// <param name="holder_name">Initial value of the holder_name property.</param> /// <param name="card_type">Initial value of the card_type property.</param> /// <param name="expiry_date">Initial value of the expiry_date property.</param> /// <param name="customer_id">Initial value of the customer_id property.</param> /// <param name="id">Initial value of the id property.</param> public static Credit_Card CreateCredit_Card(global::System.String credit_card_no, global::System.Int32 monthly_payment_date, global::System.String holder_name, global::System.String card_type, global::System.String expiry_date, global::System.Int32 customer_id, global::System.Int32 id) { Credit_Card credit_Card = new Credit_Card(); credit_Card.credit_card_no = credit_card_no; credit_Card.monthly_payment_date = monthly_payment_date; credit_Card.holder_name = holder_name; credit_Card.card_type = card_type; credit_Card.expiry_date = expiry_date; credit_Card.customer_id = customer_id; credit_Card.id = id; return credit_Card; }