コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderTypes(OrderType orderType)
 {
     base.AddObject("OrderTypes", orderType);
 }
コード例 #2
0
 /// <summary>
 /// Create a new OrderType object.
 /// </summary>
 /// <param name="orderTypeId">Initial value of the OrderTypeId property.</param>
 /// <param name="orderTypeName">Initial value of the OrderTypeName property.</param>
 public static OrderType CreateOrderType(global::System.Int32 orderTypeId, global::System.String orderTypeName)
 {
     OrderType orderType = new OrderType();
     orderType.OrderTypeId = orderTypeId;
     orderType.OrderTypeName = orderTypeName;
     return orderType;
 }