示例#1
0
 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;
 }
示例#2
0
 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;
 }
示例#3
0
 //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;
 }