/// <summary> /// Deprecated Method for adding a new object to the CardTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCardTypes(CardType cardType) { base.AddObject("CardTypes", cardType); }
/// <summary> /// Create a new CardType object. /// </summary> /// <param name="cardTypeID">Initial value of the CardTypeID property.</param> public static CardType CreateCardType(global::System.Byte cardTypeID) { CardType cardType = new CardType(); cardType.CardTypeID = cardTypeID; return cardType; }