/// <summary> /// Deprecated Method for adding a new object to the CreditCards EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCreditCards(CreditCard creditCard) { base.AddObject("CreditCards", creditCard); }
/// <summary> /// Create a new CreditCard object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="traderId">Initial value of the TraderId property.</param> public static CreditCard CreateCreditCard(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Int32 traderId) { CreditCard creditCard = new CreditCard(); creditCard.Id = id; creditCard.RowVersion = rowVersion; creditCard.TraderId = traderId; return creditCard; }