Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderCurrencyConversions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderCurrencyConversions(OrderCurrencyConversion orderCurrencyConversion)
 {
     base.AddObject("OrderCurrencyConversions", orderCurrencyConversion);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new OrderCurrencyConversion object.
 /// </summary>
 /// <param name="orderCurrencyConversionID">Initial value of the OrderCurrencyConversionID property.</param>
 /// <param name="currencyID">Initial value of the CurrencyID property.</param>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 public static OrderCurrencyConversion CreateOrderCurrencyConversion(global::System.Int64 orderCurrencyConversionID, global::System.Int16 currencyID, global::System.Int64 orderID)
 {
     OrderCurrencyConversion orderCurrencyConversion = new OrderCurrencyConversion();
     orderCurrencyConversion.OrderCurrencyConversionID = orderCurrencyConversionID;
     orderCurrencyConversion.CurrencyID = currencyID;
     orderCurrencyConversion.OrderID = orderID;
     return orderCurrencyConversion;
 }