/// <summary>
 /// Deprecated Method for adding a new object to the Instances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInstances(Instance instance)
 {
     base.AddObject("Instances", instance);
 }
 /// <summary>
 /// Create a new Instance object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="adminFeePercentage">Initial value of the AdminFeePercentage property.</param>
 /// <param name="pivotCurrencyId">Initial value of the PivotCurrencyId property.</param>
 /// <param name="globalPivotCurrencyId">Initial value of the GlobalPivotCurrencyId property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Instance CreateInstance(global::System.Int32 id, global::System.Double adminFeePercentage, global::System.String pivotCurrencyId, global::System.String globalPivotCurrencyId, global::System.Byte[] rowVersion)
 {
     Instance instance = new Instance();
     instance.Id = id;
     instance.AdminFeePercentage = adminFeePercentage;
     instance.PivotCurrencyId = pivotCurrencyId;
     instance.GlobalPivotCurrencyId = globalPivotCurrencyId;
     instance.RowVersion = rowVersion;
     return instance;
 }