コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MyCards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMyCards(MyCards myCards)
 {
     base.AddObject("MyCards", myCards);
 }
コード例 #2
0
 /// <summary>
 /// Create a new MyCards object.
 /// </summary>
 /// <param name="handId">Initial value of the HandId property.</param>
 /// <param name="card1">Initial value of the Card1 property.</param>
 /// <param name="card2">Initial value of the Card2 property.</param>
 public static MyCards CreateMyCards(global::System.Int32 handId, global::System.String card1, global::System.String card2)
 {
     MyCards myCards = new MyCards();
     myCards.HandId = handId;
     myCards.Card1 = card1;
     myCards.Card2 = card2;
     return myCards;
 }