/// <summary>
 /// Deprecated Method for adding a new object to the magiccards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomagiccards(magiccard magiccard)
 {
     base.AddObject("magiccards", magiccard);
 }
 /// <summary>
 /// Create a new magiccard object.
 /// </summary>
 /// <param name="idMagicCards">Initial value of the IdMagicCards property.</param>
 /// <param name="fk_IdMagicCardExpansion">Initial value of the fk_IdMagicCardExpansion property.</param>
 /// <param name="cardName">Initial value of the CardName property.</param>
 public static magiccard Createmagiccard(global::System.Int32 idMagicCards, global::System.SByte fk_IdMagicCardExpansion, global::System.String cardName)
 {
     magiccard magiccard = new magiccard();
     magiccard.IdMagicCards = idMagicCards;
     magiccard.fk_IdMagicCardExpansion = fk_IdMagicCardExpansion;
     magiccard.CardName = cardName;
     return magiccard;
 }