public MongoDbRepository(IOptions <MongoDbSettings> options) { var context = new BaseMongoContext <T>(options); Collection = context.MongoCollection; }
public MongoRepository(BaseMongoContext context) { _context = context.NotNull(nameof(context)); }
public GuidKeyMongoRepository(BaseMongoContext context) : base(context) { }
public MongoMockRepository(BaseMongoContext db) { _db = db; }