コード例 #1
0
 /// <summary>
 /// Create a new Card object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="snPol">Initial value of the SnPol property.</param>
 /// <param name="cardNum">Initial value of the CardNum property.</param>
 public static Card CreateCard(global::System.Int32 id, global::System.String snPol, global::System.String cardNum)
 {
     Card card = new Card();
     card.Id = id;
     card.SnPol = snPol;
     card.CardNum = cardNum;
     return card;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CardSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCardSet(Card card)
 {
     base.AddObject("CardSet", card);
 }