/// <summary>
 /// Deprecated Method for adding a new object to the Traders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTraders(Trader trader)
 {
     base.AddObject("Traders", trader);
 }
 /// <summary>
 /// Create a new Trader object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="currentInvoiceCounter">Initial value of the CurrentInvoiceCounter property.</param>
 /// <param name="countryId">Initial value of the CountryId property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Trader CreateTrader(global::System.Int32 id, global::System.Int32 currentInvoiceCounter, global::System.String countryId, global::System.Byte[] rowVersion)
 {
     Trader trader = new Trader();
     trader.Id = id;
     trader.CurrentInvoiceCounter = currentInvoiceCounter;
     trader.CountryId = countryId;
     trader.RowVersion = rowVersion;
     return trader;
 }