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 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)); }