/// <summary>
 /// Deprecated Method for adding a new object to the CreditCards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCreditCards(CreditCard creditCard)
 {
     base.AddObject("CreditCards", creditCard);
 }
 /// <summary>
 /// Create a new CreditCard object.
 /// </summary>
 /// <param name="creditCardID">Initial value of the CreditCardID property.</param>
 /// <param name="cardType">Initial value of the CardType property.</param>
 /// <param name="cardNumber">Initial value of the CardNumber property.</param>
 /// <param name="expMonth">Initial value of the ExpMonth property.</param>
 /// <param name="expYear">Initial value of the ExpYear property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static CreditCard CreateCreditCard(global::System.Int32 creditCardID, global::System.String cardType, global::System.String cardNumber, global::System.Byte expMonth, global::System.Int16 expYear, global::System.DateTime modifiedDate)
 {
     CreditCard creditCard = new CreditCard();
     creditCard.CreditCardID = creditCardID;
     creditCard.CardType = cardType;
     creditCard.CardNumber = cardNumber;
     creditCard.ExpMonth = expMonth;
     creditCard.ExpYear = expYear;
     creditCard.ModifiedDate = modifiedDate;
     return creditCard;
 }