Esempio n. 1
0
 public DataService(ClientQueryDeserializer queryDeserializer,
                    TypedAutoGridStructureDataProvider <CstReqCustoms> cstReqCustomsListDataProvider,
                    CstReqCustomsReportStructureDataProvider cstReqCustomsReportStructureDataProvider,
                    IWebClientWorkflowService service, IWorkflowStorage workflowStorage)
     : base(queryDeserializer, service, workflowStorage)
 {
     StructureDataProviders.Add(cstReqCustomsListDataProvider);
     StructureDataProviders.Add(cstReqCustomsReportStructureDataProvider);
 }
Esempio n. 2
0
        public DataService(
            ClientQueryDeserializer queryDeserializer,
            IChangeSetApplier changeSetApplier,
            ChangeSetDeserializer changeSetDeserializer,
            IUnitOfWorkFactory unitOfWorkFactory,
            TypedAutoGridStructureDataProvider <YInternalTrafficMonitor> internalTrafficMonitorStructureDataProvider,
            ISessionFactory factory
            )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            _factory = factory;
            StructureDataProviders.Add(internalTrafficMonitorStructureDataProvider);

            //CommittableBindingsProvider.Register(internalTrafficStructureDataProvider);
        }
Esempio n. 3
0
        public DataService(
            ClientQueryDeserializer queryDeserializer,
            IChangeSetApplier changeSetApplier,
            ChangeSetDeserializer changeSetDeserializer,
            IUnitOfWorkFactory unitOfWorkFactory,
            WorkerCardStructureDataProvider workerStructureDataProvider,
            TypedAutoGridStructureDataProvider <WmsAddressBook> addressListStructureDataProvider
            )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            StructureDataProviders.Add(workerStructureDataProvider);
            StructureDataProviders.Add(addressListStructureDataProvider);

            CommittableBindingsProvider.Register(workerStructureDataProvider);
        }
Esempio n. 4
0
        public DataService(
            ClientQueryDeserializer queryDeserializer,
            IChangeSetApplier changeSetApplier,
            ChangeSetDeserializer changeSetDeserializer,
            IUnitOfWorkFactory unitOfWorkFactory,
            TypedAutoCardStructureDataProvider <SchJob> jobStructureDataProvider,
            TypedAutoGridStructureDataProvider <SchJobParam> jobParamListStructureDataProvider,
            TypedAutoGridStructureDataProvider <SchCronTrigger> cronTriggerStructureDataProvider,
            TypedAutoGridStructureDataProvider <SchSimpleTrigger> simpleTriggerStructureDataProvider
            )
            : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory)
        {
            StructureDataProviders.Add(jobStructureDataProvider);
            StructureDataProviders.Add(jobParamListStructureDataProvider);
            StructureDataProviders.Add(cronTriggerStructureDataProvider);
            StructureDataProviders.Add(simpleTriggerStructureDataProvider);

            CommittableBindingsProvider.Register(jobStructureDataProvider);
            CommittableBindingsProvider.Register(jobParamListStructureDataProvider);
            CommittableBindingsProvider.Register(cronTriggerStructureDataProvider);
            CommittableBindingsProvider.Register(simpleTriggerStructureDataProvider);
        }