/// <summary> /// Create a new CardItem object. /// </summary> /// <param name="cardItemId">Initial value of the CardItemId property.</param> /// <param name="cardTypeId">Initial value of the CardTypeId property.</param> /// <param name="name">Initial value of the Name property.</param> public static CardItem CreateCardItem(global::System.Int32 cardItemId, global::System.Int32 cardTypeId, global::System.String name) { CardItem cardItem = new CardItem(); cardItem.CardItemId = cardItemId; cardItem.CardTypeId = cardTypeId; cardItem.Name = name; return cardItem; }
/// <summary> /// Deprecated Method for adding a new object to the CardItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCardItems(CardItem cardItem) { base.AddObject("CardItems", cardItem); }