/// <summary>
 /// Deprecated Method for adding a new object to the Trades EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTrades(Trade trade)
 {
     base.AddObject("Trades", trade);
 }
 /// <summary>
 /// Create a new Trade object.
 /// </summary>
 /// <param name="executionId">Initial value of the ExecutionId property.</param>
 /// <param name="timeStamp">Initial value of the TimeStamp property.</param>
 /// <param name="side">Initial value of the Side property.</param>
 /// <param name="traderDeskMapId">Initial value of the TraderDeskMapId property.</param>
 /// <param name="symbolId">Initial value of the SymbolId property.</param>
 /// <param name="customerId">Initial value of the CustomerId property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="size">Initial value of the Size property.</param>
 public static Trade CreateTrade(global::System.Int64 executionId, global::System.DateTime timeStamp, global::System.String side, global::System.Int32 traderDeskMapId, global::System.Int32 symbolId, global::System.Int32 customerId, global::System.Decimal price, global::System.Double size)
 {
     Trade trade = new Trade();
     trade.ExecutionId = executionId;
     trade.TimeStamp = timeStamp;
     trade.Side = side;
     trade.TraderDeskMapId = traderDeskMapId;
     trade.SymbolId = symbolId;
     trade.CustomerId = customerId;
     trade.Price = price;
     trade.Size = size;
     return trade;
 }