コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the InternationalOrders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInternationalOrders(InternationalOrders internationalOrders)
 {
     base.AddObject("InternationalOrders", internationalOrders);
 }
コード例 #2
0
 /// <summary>
 /// Create a new InternationalOrders object.
 /// </summary>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="customsDescription">Initial value of the CustomsDescription property.</param>
 /// <param name="exciseTax">Initial value of the ExciseTax property.</param>
 public static InternationalOrders CreateInternationalOrders(global::System.Int64 orderID, global::System.String customsDescription, global::System.Decimal exciseTax)
 {
     InternationalOrders internationalOrders = new InternationalOrders();
     internationalOrders.OrderID = orderID;
     internationalOrders.CustomsDescription = customsDescription;
     internationalOrders.ExciseTax = exciseTax;
     return internationalOrders;
 }