/// <summary> /// Deprecated Method for adding a new object to the Cards EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCards(Card card) { base.AddObject("Cards", card); }
/// <summary> /// Create a new Card object. /// </summary> /// <param name="cardID">Initial value of the CardID property.</param> public static Card CreateCard(global::System.Int32 cardID) { Card card = new Card(); card.CardID = cardID; return card; }