コード例 #1
0
 public DatabaseQueryPredicateBuilder(IObjectMapperFactory objectMappingFactory,
                                      IDatabaseConfiguration databaseConfiguration)
 {
     _objectMappingFactory  = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory));
     _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration));
     _parameters            = new List <IDbDataParameter>();
 }
コード例 #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));
 }
コード例 #3
0
        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);
        }
コード例 #4
0
 public DictionaryBasedDataReaderJoinedBuilderStrategy(IDataReaderBuilder dataReaderBuilder, IObjectMapperFactory objectMappingFactory,
                                                       IDatabaseConfiguration databaseConfiguration) : base(dataReaderBuilder)
 {
     _objectMappingFactory  = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory));
     _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration));
 }
コード例 #5
0
 public ModelDataConverter(IObjectMapperFactory objectMappingFactory)
 {
     throw new NotImplementedException();
 }
コード例 #6
0
 public CountQueryBuilderStrategy(IFieldHelper fieldHelper, IObjectMapperFactory objectMappingFactory,
                                  IDatabaseConfiguration databaseConfiguration) : base(fieldHelper)
 {
     _objectMappingFactory  = objectMappingFactory.ThrowIfNull(nameof(objectMappingFactory));
     _databaseConfiguration = databaseConfiguration.ThrowIfNull(nameof(databaseConfiguration));
 }
コード例 #7
0
ファイル: FieldHelper.cs プロジェクト: joncrump/norml
 public FieldHelper(IObjectMapperFactory objectMappingFactory)
 {
     _objectMappingFactory = Guard.ThrowIfNull("objectMappingFactory", objectMappingFactory);
 }