/// <summary> /// Deprecated Method for adding a new object to the PickingSlipDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPickingSlipDetails(PickingSlipDetail pickingSlipDetail) { base.AddObject("PickingSlipDetails", pickingSlipDetail); }
/// <summary> /// Create a new PickingSlipDetail object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="pickingSlipDetail_PickingSlip">Initial value of the PickingSlipDetail_PickingSlip property.</param> /// <param name="pickingSlipDetail_OrderRequisitionDetail">Initial value of the PickingSlipDetail_OrderRequisitionDetail property.</param> /// <param name="lotNo">Initial value of the LotNo property.</param> /// <param name="pickingSlipDetail_Location">Initial value of the PickingSlipDetail_Location property.</param> /// <param name="pickingQuantity">Initial value of the PickingQuantity property.</param> /// <param name="unitPrice">Initial value of the UnitPrice property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static PickingSlipDetail CreatePickingSlipDetail(global::System.Int32 id, global::System.Int32 pickingSlipDetail_PickingSlip, global::System.Int32 pickingSlipDetail_OrderRequisitionDetail, global::System.String lotNo, global::System.Int32 pickingSlipDetail_Location, global::System.Double pickingQuantity, global::System.Decimal unitPrice, global::System.Byte[] rowVersion) { PickingSlipDetail pickingSlipDetail = new PickingSlipDetail(); pickingSlipDetail.Id = id; pickingSlipDetail.PickingSlipDetail_PickingSlip = pickingSlipDetail_PickingSlip; pickingSlipDetail.PickingSlipDetail_OrderRequisitionDetail = pickingSlipDetail_OrderRequisitionDetail; pickingSlipDetail.LotNo = lotNo; pickingSlipDetail.PickingSlipDetail_Location = pickingSlipDetail_Location; pickingSlipDetail.PickingQuantity = pickingQuantity; pickingSlipDetail.UnitPrice = unitPrice; pickingSlipDetail.RowVersion = rowVersion; return pickingSlipDetail; }