/// <summary> /// Create a new CardStyle object. /// </summary> /// <param name="cardStyleId">Initial value of the CardStyleId property.</param> /// <param name="cardName">Initial value of the CardName property.</param> /// <param name="imageUrl">Initial value of the ImageUrl property.</param> public static CardStyle CreateCardStyle(global::System.Int32 cardStyleId, global::System.String cardName, global::System.String imageUrl) { CardStyle cardStyle = new CardStyle(); cardStyle.CardStyleId = cardStyleId; cardStyle.CardName = cardName; cardStyle.ImageUrl = imageUrl; return cardStyle; }
/// <summary> /// Deprecated Method for adding a new object to the CardStyles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCardStyles(CardStyle cardStyle) { base.AddObject("CardStyles", cardStyle); }