/// <summary>
 /// Create a new Card object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="effect">Initial value of the Effect property.</param>
 public static Card CreateCard(global::System.Int32 id, global::System.String name, CardEffect effect)
 {
     Card card = new Card();
     card.Id = id;
     card.Name = name;
     card.Effect = StructuralObject.VerifyComplexObjectIsNotNull(effect, "Effect");
     return card;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Cards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 internal void AddToCards(Card card)
 {
     base.AddObject("Cards", card);
 }