public TETypeLookupStructureDataProvider(IMetamodel metamodel,
                                                 IQueryableFactoryProvider queryableFactoryProvider,
                                                 FieldsByBindingsFactory fieldsByBindingsFactory,
                                                 JsStructureFactory jsStructureFactory,
                                                 IEntityBindingsProvider entityBindingsProvider,
                                                 JsStructureEnricher jsStructureEnricher,
                                                 IEntitiesLoader entitiesLoader,
                                                 IUiInfoProvider uiInfoProvider,
                                                 INamingConventionProvider namingConventionProvider,
                                                 IDataTableByBindingsFactory dataTableByBindingsFactory,
                                                 IBindingDataTableFiller bindingDataTableFiller,
                                                 BindingsCreator bindingsCreator) : base(metamodel, fieldsByBindingsFactory, jsStructureFactory)
        {
            Contract.Requires(queryableFactoryProvider != null);
            Contract.Requires(entityBindingsProvider != null);
            Contract.Requires(jsStructureEnricher != null);
            Contract.Requires(entitiesLoader != null);
            Contract.Requires(dataTableByBindingsFactory != null);
            Contract.Requires(bindingDataTableFiller != null);
            Contract.Requires(bindingsCreator != null);

            _queryableFactoryProvider   = queryableFactoryProvider;
            _entityBindingsProvider     = entityBindingsProvider;
            _jsStructureEnricher        = jsStructureEnricher;
            _entitiesLoader             = entitiesLoader;
            _dataTableByBindingsFactory = dataTableByBindingsFactory;
            _bindingDataTableFiller     = bindingDataTableFiller;
            _bindingsCreator            = bindingsCreator;

            _linqQueryBuilder = new LinqQueryBuilder(metamodel, uiInfoProvider, namingConventionProvider);

            SetEntityType(typeof(WmsTEType));
        }
 public CargoIwbPosByIwbGridStructureDataProvider(IMetamodel metamodel,
                                                  FieldsByBindingsFactory fieldsByBindingsFactory,
                                                  JsStructureFactory jsStructureFactory,
                                                  IEntityBindingsProvider entityBindingsProvider,
                                                  JsStructureEnricher jsStructureEnricher,
                                                  IEntitiesLoader entitiesLoader)
     : base(
         metamodel, fieldsByBindingsFactory, jsStructureFactory, entityBindingsProvider, jsStructureEnricher,
         entitiesLoader)
 {
     SetEntityType(typeof(WmsCargoIWBPos));
 }
예제 #3
0
        public TransportDocumentStructureDataProvider(IMetamodel metamodel,
                                                      FieldsByBindingsFactory fieldsByBindingsFactory,
                                                      JsStructureFactory jsStructureFactory,
                                                      IEntitiesLoader entitiesLoader,
                                                      JsStructureEnricher jsStructureEnricher,
                                                      BindingsCreator bindingsCreator,
                                                      EntityBindingsProvider entityBindingsProvider)
            : base(metamodel, fieldsByBindingsFactory, jsStructureFactory, entityBindingsProvider, jsStructureEnricher, entitiesLoader)
        {
            _bindingsCreator = bindingsCreator;

            SetEntityType(typeof(CstTransportDocument));
        }
예제 #4
0
        public CstReqCustomsPosDataProvider(IMetamodel metamodel,
                                            FieldsByBindingsFactory fieldsByBindingsFactory,
                                            JsStructureFactory jsStructureFactory,
                                            IEntitiesLoader entitiesLoader,
                                            JsStructureEnricher jsStructureEnricher,
                                            BindingsCreator bindingsCreator,
                                            EntityBindingsProvider entityBindingsProvider)
            : base(metamodel, fieldsByBindingsFactory, jsStructureFactory, entityBindingsProvider, jsStructureEnricher, entitiesLoader)
        {
            _bindingsCreator = bindingsCreator;

            SetEntityType(typeof(CstReqCustomsPos));
        }
예제 #5
0
        public PassRequestListStructureDataProvider(IMetamodel metamodel,
                                                    FieldsByBindingsFactory fieldsByBindingsFactory,
                                                    JsStructureFactory jsStructureFactory,
                                                    IEntitiesLoader entitiesLoader,
                                                    JsStructureEnricher jsStructureEnricher,
                                                    BindingsCreator bindingsCreator)
            : base(metamodel, fieldsByBindingsFactory, jsStructureFactory)
        {
            _entitiesLoader      = entitiesLoader;
            _jsStructureEnricher = jsStructureEnricher;
            _bindingsCreator     = bindingsCreator;

            SetEntityType(typeof(YPassRequest));
        }
 public IwbGridStructureDataProvider(IMetamodel metamodel,
                                     FieldsByBindingsFactory fieldsByBindingsFactory,
                                     JsStructureFactory jsStructureFactory,
                                     IEntityBindingsProvider entityBindingsProvider,
                                     JsStructureEnricher jsStructureEnricher,
                                     IEntitiesLoader entitiesLoader,
                                     BindingsCreator bindingsCreator)
     : base(metamodel, fieldsByBindingsFactory, jsStructureFactory, entityBindingsProvider, jsStructureEnricher, entitiesLoader)
 {
     _entitiesLoader      = entitiesLoader;
     _jsStructureEnricher = jsStructureEnricher;
     _bindingsCreator     = bindingsCreator;
     SetEntityType(typeof(WmsIWB));
 }
예제 #7
0
        public ExternalTrafficStructureDataProvider(IMetamodel metamodel,
                                                    FieldsByBindingsFactory fieldsByBindingsFactory,
                                                    JsStructureFactory jsStructureFactory,
                                                    IEntitiesLoader entitiesLoader,
                                                    JsStructureEnricher jsStructureEnricher,
                                                    BindingsCreator bindingsCreator)
            : base(metamodel, fieldsByBindingsFactory, jsStructureFactory)
        {
            _entitiesLoader      = entitiesLoader;
            _jsStructureEnricher = jsStructureEnricher;
            _bindingsCreator     = bindingsCreator;

            SetEntityType(typeof(YExternalTraffic));
        }
예제 #8
0
        public CstReqCustomsReportStructureDataProvider(IMetamodel metamodel,
                                                        FieldsByBindingsFactory fieldsByBindingsFactory,
                                                        JsStructureFactory jsStructureFactory,
                                                        IEntitiesLoader entitiesLoader,
                                                        JsStructureEnricher jsStructureEnricher,
                                                        EntityBindingsProvider entityBindingsProvider,
                                                        IDataTableByBindingsFactory dataTableByBindingsFactory,
                                                        IBindingDataTableFiller bindingDataTableFiller,
                                                        LinqQueryBuilder linqQueryBuilder,
                                                        ISessionFactory sessionFactory)
            : base(
                metamodel, fieldsByBindingsFactory, jsStructureFactory, entityBindingsProvider, jsStructureEnricher,
                entitiesLoader)
        {
            _dataTableByBindingsFactory = dataTableByBindingsFactory;
            _bindingDataTableFiller     = bindingDataTableFiller;
            _linqQueryBuilder           = linqQueryBuilder;
            _sessionFactory             = sessionFactory;

            SetEntityType(typeof(WmsReport));
        }
        public OwbGridStructureDataProvider(IMetamodel metamodel,
                                            FieldsByBindingsFactory fieldsByBindingsFactory,
                                            JsStructureFactory jsStructureFactory,
                                            IDataTableByBindingsFactory dataTableByBindingsFactory,
                                            IBindingDataTableFiller bindingDataTableFiller,
                                            JsStructureEnricher jsStructureEnricher,
                                            BindingsCreator bindingsCreator,
                                            LinqQueryBuilder linqQueryBuilder,
                                            ISessionFactory sessionFactory)
            : base(metamodel)
        {
            _fieldsByBindingsFactory    = fieldsByBindingsFactory;
            _jsStructureFactory         = jsStructureFactory;
            _dataTableByBindingsFactory = dataTableByBindingsFactory;
            _bindingDataTableFiller     = bindingDataTableFiller;
            _jsStructureEnricher        = jsStructureEnricher;
            _bindingsCreator            = bindingsCreator;
            _linqQueryBuilder           = linqQueryBuilder;
            _sessionFactory             = sessionFactory;

            SetEntityType(typeof(WmsOWB));
        }