/// <summary> /// Deprecated Method for adding a new object to the OrderTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderTypes(OrderType orderType) { base.AddObject("OrderTypes", orderType); }
/// <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; }