/// <summary> /// Create a new OrderAction object. /// </summary> /// <param name="orderActionId">Initial value of the OrderActionId property.</param> /// <param name="orderActionTypeId">Initial value of the OrderActionTypeId property.</param> /// <param name="entityId">Initial value of the EntityId property.</param> /// <param name="entityLocationId">Initial value of the EntityLocationId property.</param> /// <param name="changeDate">Initial value of the ChangeDate property.</param> /// <param name="change">Initial value of the Change property.</param> public static OrderAction CreateOrderAction(global::System.Int32 orderActionId, global::System.Int32 orderActionTypeId, global::System.Int32 entityId, global::System.Int32 entityLocationId, global::System.DateTime changeDate, global::System.Int32 change) { OrderAction orderAction = new OrderAction(); orderAction.OrderActionId = orderActionId; orderAction.OrderActionTypeId = orderActionTypeId; orderAction.EntityId = entityId; orderAction.EntityLocationId = entityLocationId; orderAction.ChangeDate = changeDate; orderAction.Change = change; return orderAction; }
/// <summary> /// Deprecated Method for adding a new object to the OrderActions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderActions(OrderAction orderAction) { base.AddObject("OrderActions", orderAction); }