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 DictionaryBasedDataReaderJoinedBuilderStrategy(IDataReaderBuilder dataReaderBuilder, IObjectMapperFactory objectMappingFactory, IDatabaseConfiguration databaseConfiguration) : base(dataReaderBuilder) { _objectMappingFactory = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory)); _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration)); }
public CountQueryBuilderStrategy(IFieldHelper fieldHelper, IObjectMapperFactory objectMappingFactory, IDatabaseConfiguration databaseConfiguration) : base(fieldHelper) { _objectMappingFactory = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory)); _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration)); }