/// <summary> /// Deprecated Method for adding a new object to the OrderRequisitions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderRequisitions(OrderRequisition orderRequisition) { base.AddObject("OrderRequisitions", orderRequisition); }
/// <summary> /// Create a new OrderRequisition object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="orderRequisitionNo">Initial value of the OrderRequisitionNo property.</param> /// <param name="orderRequisitionDate">Initial value of the OrderRequisitionDate property.</param> /// <param name="requisition_Customer">Initial value of the Requisition_Customer property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static OrderRequisition CreateOrderRequisition(global::System.Int32 id, global::System.String orderRequisitionNo, global::System.DateTime orderRequisitionDate, global::System.Int32 requisition_Customer, global::System.Boolean status, global::System.Byte[] rowVersion) { OrderRequisition orderRequisition = new OrderRequisition(); orderRequisition.Id = id; orderRequisition.OrderRequisitionNo = orderRequisitionNo; orderRequisition.OrderRequisitionDate = orderRequisitionDate; orderRequisition.Requisition_Customer = requisition_Customer; orderRequisition.Status = status; orderRequisition.RowVersion = rowVersion; return orderRequisition; }