/// <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="orderType1">Initial value of the orderType1 property.</param> public static orderType CreateorderType(global::System.Int32 orderTypeID, global::System.String orderType1) { orderType orderType = new orderType(); orderType.orderTypeID = orderTypeID; orderType.orderType1 = orderType1; return orderType; }