public DataService( ClientQueryDeserializer queryDeserializer, IChangeSetApplier changeSetApplier, ChangeSetDeserializer changeSetDeserializer, IUnitOfWorkFactory unitOfWorkFactory, ISessionFactory factory, TypedAutoCardStructureDataProvider <CstReqCustoms> cstReqCustomsStructureDataProvider, TransportDocumentStructureDataProvider transportDocumentStructureDataProvider, TransportContractStructureDataProvider transportContractStructureDataProvider, CstReqCustomsPosDataProvider cstReqCustomsPosDataProvider, CstReqCustoms2WBStructureDataProvider cstReqCustoms2WbStructureDataProvider ) : base(queryDeserializer, changeSetDeserializer, changeSetApplier, unitOfWorkFactory) { _factory = factory; StructureDataProviders.Add(cstReqCustomsStructureDataProvider); StructureDataProviders.Add(transportDocumentStructureDataProvider); StructureDataProviders.Add(transportContractStructureDataProvider); StructureDataProviders.Add(cstReqCustomsPosDataProvider); StructureDataProviders.Add(cstReqCustoms2WbStructureDataProvider); CommittableBindingsProvider.Register(cstReqCustomsStructureDataProvider); CommittableBindingsProvider.Register(transportDocumentStructureDataProvider); CommittableBindingsProvider.Register(transportContractStructureDataProvider); }
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); }