public DataTransferObjectsTask(ManualResetEvent doneEvent, DtoProjectionEngine projectionLayer, DataLayerGateway dataLayerGateway, GraphMap graphMap, DataObject objectType, DataTransferObjects dataTransferObjects) { _doneEvent = doneEvent; _dataLayerGateway = dataLayerGateway; _projectionLayer = projectionLayer; _projectionLayer.dataLayerGateway = dataLayerGateway; _objectType = objectType; _graphMap = graphMap; _dataTransferObjects = dataTransferObjects; }
public OutboundDtoTask(ManualResetEvent doneEvent, DtoProjectionEngine projectionLayer, DataLayerGateway dataLayerGateway, GraphMap graphMap, DataObject dataObject, List <string> identifiers) { _doneEvent = doneEvent; _dataLayerGateway = dataLayerGateway; _projectionLayer = projectionLayer; _projectionLayer.dataLayerGateway = dataLayerGateway; _graphMap = graphMap; _dataObject = dataObject; _identifiers = identifiers; }
//TODO: public DtiTask(ManualResetEvent doneEvent, DtoProjectionEngine projectionLayer, DataLayerGateway dataLayerGateway, DataDictionary dictionary, GraphMap graphMap, DataFilter filter, int pageSize, int startIndex) { _doneEvent = doneEvent; _dataLayerGateway = dataLayerGateway; _projectionLayer = projectionLayer; _projectionLayer.dataLayerGateway = dataLayerGateway; _dictionary = dictionary; _graphMap = graphMap; _filter = Utility.CloneDataContractObject <DataFilter>(filter); _pageSize = pageSize; _startIndex = startIndex; }