示例#1
0
        public BsonQueryGeneratorFactory([NotNull] IBsonCommandBuilderFactory bsonCommandBuilderFactory
                                         )
        {
            Check.NotNull(bsonCommandBuilderFactory, nameof(bsonCommandBuilderFactory));

            _bsonCommandBuilderFactory = bsonCommandBuilderFactory;
        }
 public BsonQueryGenerator(IBsonCommandBuilderFactory bsonCommandBuilderFactory,
                           FindExpression findExpression)
 {
     _bsonCommandBuilderFactory = bsonCommandBuilderFactory;
     _findExpression            = findExpression;
 }
 public BsonQueryGeneratorFactory(IBsonCommandBuilderFactory bsonCommandBuilderFactory)
 {
     _bsonCommandBuilderFactory = bsonCommandBuilderFactory;
 }