/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the CardSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCardSet(Card card) { base.AddObject("CardSet", card); }