コード例 #1
0
ファイル: PgpCard.Designer.cs プロジェクト: donwb/PaintGaPink
 /// <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;
 }
コード例 #2
0
ファイル: PgpCard.Designer.cs プロジェクト: donwb/PaintGaPink
 /// <summary>
 /// Deprecated Method for adding a new object to the CardStyles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCardStyles(CardStyle cardStyle)
 {
     base.AddObject("CardStyles", cardStyle);
 }