/// <summary> /// Deprecated Method for adding a new object to the Cards EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCards(Card card) { base.AddObject("Cards", card); }
/// <summary> /// Create a new Card object. /// </summary> /// <param name="card_no">Initial value of the card_no property.</param> /// <param name="pin_reset">Initial value of the pin_reset property.</param> /// <param name="trading_name">Initial value of the trading_name property.</param> /// <param name="cust_id">Initial value of the cust_id property.</param> /// <param name="status">Initial value of the status property.</param> /// <param name="print">Initial value of the print property.</param> public static Card CreateCard(global::System.Int32 card_no, global::System.Int32 pin_reset, global::System.String trading_name, global::System.Int32 cust_id, global::System.String status, global::System.Int32 print) { Card card = new Card(); card.card_no = card_no; card.pin_reset = pin_reset; card.trading_name = trading_name; card.cust_id = cust_id; card.status = status; card.print = print; return card; }