/// <summary>
 /// Deprecated Method for adding a new object to the MyCards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMyCards(MyCard myCard)
 {
     base.AddObject("MyCards", myCard);
 }
 /// <summary>
 /// Create a new MyCard object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="nickName">Initial value of the NickName property.</param>
 /// <param name="paymentMethodId">Initial value of the PaymentMethodId property.</param>
 public static MyCard CreateMyCard(global::System.Int32 id, global::System.String nickName, global::System.Int64 paymentMethodId)
 {
     MyCard myCard = new MyCard();
     myCard.ID = id;
     myCard.NickName = nickName;
     myCard.PaymentMethodId = paymentMethodId;
     return myCard;
 }