/// <summary> /// Create a new FactTrade object. /// </summary> /// <param name="tradeKey">Initial value of the TradeKey property.</param> /// <param name="executionTimeKey">Initial value of the ExecutionTimeKey property.</param> /// <param name="sideKey">Initial value of the SideKey property.</param> /// <param name="symbolKey">Initial value of the SymbolKey property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="size">Initial value of the Size property.</param> /// <param name="exchangeFee">Initial value of the ExchangeFee property.</param> /// <param name="brokerFee">Initial value of the BrokerFee property.</param> /// <param name="sECFee">Initial value of the SECFee property.</param> /// <param name="marginFee">Initial value of the MarginFee property.</param> public static FactTrade CreateFactTrade(global::System.Int64 tradeKey, global::System.DateTime executionTimeKey, global::System.Int32 sideKey, global::System.Int32 symbolKey, global::System.Decimal price, global::System.Double size, global::System.Decimal exchangeFee, global::System.Decimal brokerFee, global::System.Decimal sECFee, global::System.Decimal marginFee) { FactTrade factTrade = new FactTrade(); factTrade.TradeKey = tradeKey; factTrade.ExecutionTimeKey = executionTimeKey; factTrade.SideKey = sideKey; factTrade.SymbolKey = symbolKey; factTrade.Price = price; factTrade.Size = size; factTrade.ExchangeFee = exchangeFee; factTrade.BrokerFee = brokerFee; factTrade.SECFee = sECFee; factTrade.MarginFee = marginFee; return factTrade; }
/// <summary> /// Deprecated Method for adding a new object to the FactTrades EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFactTrades(FactTrade factTrade) { base.AddObject("FactTrades", factTrade); }