protected override void Initialise() { base.Initialise(); // Following code removed as it is to do with WebSolution features that are // currently not implemented in the CodeProject article. #if false // If document ID specified, get forum ID from document information if (DocumentID > 0) { ForumID = DocumentsDB.GetBoardFromDocument(DocumentID); } #endif }
public string GetDocument() { string url = string.Empty; // Following code removed as it is to do with WebSolution features that are // currently not implemented in the CodeProject article. #if false if (DocumentID > 0) { string documentURL = DocumentsDB.GetDocumentURL(DocumentID); if (documentURL != string.Empty) { url = string.Format("{0}.aspx", documentURL); } } #endif if (url == string.Empty) { url = Page.Request.ServerVariables["URL"]; } return(url); }
public StatusesRepository(StatusesDB context, DocumentsDB contextDocuments, HandlingUnitsDB contextHandlingUnits, HandlingUnitsShippingDB contextHandlingUnitsShipping, InboundOrderLinesDB contextInboundOrderLines, InboundOrdersDB contextInboundOrders, InventoryUnitsDB contextInventoryUnits, InventoryUnitTransactionsDB contextInventoryUnitTransactions, MoveQueuesDB contextMoveQueues, OutboundCarrierManifestPickupsDB contextOutboundCarrierManifestPickups, OutboundCarrierManifestsDB contextOutboundCarrierManifests, OutboundOrderLinePackingDB contextOutboundOrderLinePacking, OutboundOrderLinesDB contextOutboundOrderLines, OutboundOrderLinesInventoryAllocationDB contextOutboundOrderLinesInventoryAllocation, OutboundOrdersDB contextOutboundOrders, OutboundShipmentsDB contextOutboundShipments, PickBatchesDB contextPickBatches, PickBatchPickingDB contextPickBatchPicking, ReceivingDB contextReceiving) { _context = context; _contextDocuments = contextDocuments; _contextHandlingUnits = contextHandlingUnits; _contextHandlingUnitsShipping = contextHandlingUnitsShipping; _contextInboundOrderLines = contextInboundOrderLines; _contextInboundOrders = contextInboundOrders; _contextInventoryUnits = contextInventoryUnits; _contextInventoryUnitTransactions = contextInventoryUnitTransactions; _contextMoveQueues = contextMoveQueues; _contextOutboundCarrierManifestPickups = contextOutboundCarrierManifestPickups; _contextOutboundCarrierManifests = contextOutboundCarrierManifests; _contextOutboundOrderLinePacking = contextOutboundOrderLinePacking; _contextOutboundOrderLines = contextOutboundOrderLines; _contextOutboundOrderLinesInventoryAllocation = contextOutboundOrderLinesInventoryAllocation; _contextOutboundOrders = contextOutboundOrders; _contextOutboundShipments = contextOutboundShipments; _contextPickBatches = contextPickBatches; _contextPickBatchPicking = contextPickBatchPicking; _contextReceiving = contextReceiving; }
public DocumentMessageTypesRepository(DocumentMessageTypesDB context, DocumentsDB contextDocuments) { _context = context; _contextDocuments = contextDocuments; }
public DocumentsRepository(DocumentsDB context) { _context = context; }