예제 #1
0
 internal CosmosDbRepository(
     CosmosDbConnection connection,
     IMapper mapper,
     Func <CosmosCombinationOperator, CosmosQuery> queryFactory,
     ILoggerWrapper logger)
 {
     _connection   = connection;
     _mapper       = mapper;
     _queryFactory = queryFactory;
     _logger       = logger;
 }
예제 #2
0
 public CosmosDbRepository(CosmosDbConnection connection, ILoggerWrapper logger)
     : this(connection, new Mapper(), (@operator) => new CosmosQuery(@operator), logger)
 {
 }