public DatabaseQueryPredicateBuilder(IObjectMapperFactory objectMappingFactory, IDatabaseConfiguration databaseConfiguration) { _objectMappingFactory = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory)); _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration)); _parameters = new List <IDbDataParameter>(); }
public PagedQueryBuilderStrategy(IFieldHelper fieldHelper, IPredicateBuilder predicateBuilder, IObjectMapperFactory objectMappingFactory, IDatabaseConfiguration databaseConfiguration) : base(fieldHelper) { _predicateBuilder = predicateBuilder.ThrowIfNull(nameof(predicateBuilder)); _objectMappingFactory = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory)); _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration)); }
public SelectJoinedQueryBuilderStrategy(IFieldHelper fieldHelper, IPredicateBuilder predicateBuilder, IQueryBuilderStrategyFactory queryBuilderStrategyFactory, IObjectMapperFactory objectMappingFactory) : base(fieldHelper) { throw new NotImplementedException(); _predicateBuilder = Guard.ThrowIfNull("predicateBuilder", predicateBuilder); _queryBuilderStrategyFactory = Guard.ThrowIfNull("queryBuilderStrategyFactory", queryBuilderStrategyFactory); }
public DictionaryBasedDataReaderJoinedBuilderStrategy(IDataReaderBuilder dataReaderBuilder, IObjectMapperFactory objectMappingFactory, IDatabaseConfiguration databaseConfiguration) : base(dataReaderBuilder) { _objectMappingFactory = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory)); _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration)); }
public ModelDataConverter(IObjectMapperFactory objectMappingFactory) { throw new NotImplementedException(); }
public CountQueryBuilderStrategy(IFieldHelper fieldHelper, IObjectMapperFactory objectMappingFactory, IDatabaseConfiguration databaseConfiguration) : base(fieldHelper) { _objectMappingFactory = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory)); _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration)); }
public FieldHelper(IObjectMapperFactory objectMappingFactory) { _objectMappingFactory = Guard.ThrowIfNull("objectMappingFactory", objectMappingFactory); }