/// <summary>
 /// Create a new forex object.
 /// </summary>
 /// <param name="currency">Initial value of the currency property.</param>
 /// <param name="rate">Initial value of the rate property.</param>
 public static forex Createforex(global::System.String currency, global::System.Decimal rate)
 {
     forex forex = new forex();
     forex.currency = currency;
     forex.rate = rate;
     return forex;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the forexes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToforexes(forex forex)
 {
     base.AddObject("forexes", forex);
 }