Exemplo n.º 1
0
 public DatabaseQueryPredicateBuilder(IObjectMapperFactory objectMappingFactory,
                                      IDatabaseConfiguration databaseConfiguration)
 {
     _objectMappingFactory  = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory));
     _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration));
     _parameters            = new List <IDbDataParameter>();
 }
Exemplo n.º 2
0
 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));
 }
Exemplo n.º 5
0
 public ModelDataConverter(IObjectMapperFactory objectMappingFactory)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 6
0
 public CountQueryBuilderStrategy(IFieldHelper fieldHelper, IObjectMapperFactory objectMappingFactory,
                                  IDatabaseConfiguration databaseConfiguration) : base(fieldHelper)
 {
     _objectMappingFactory  = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory));
     _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration));
 }
Exemplo n.º 7
0
 public FieldHelper(IObjectMapperFactory objectMappingFactory)
 {
     _objectMappingFactory = Guard.ThrowIfNull("objectMappingFactory", objectMappingFactory);
 }