/// <summary>
 /// Create a new Market object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="variance">Initial value of the Variance property.</param>
 /// <param name="expected">Initial value of the Expected property.</param>
 public static Market CreateMarket(global::System.Int32 id, global::System.String name, global::System.Double variance, global::System.Double expected)
 {
     Market market = new Market();
     market.ID = id;
     market.Name = name;
     market.Variance = variance;
     market.Expected = expected;
     return market;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Markets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMarkets(Market market)
 {
     base.AddObject("Markets", market);
 }