public ReadOnlyRepository(IMongoDefaultProvider provider)
     : base(provider)
 {
 }
Exemple #2
0
 public Repository(IMongoDefaultProvider provider)
 {
     Collection = provider.Collection <TEntity>(GetCollectionName());
     Cache      = new MemoryCache(provider.CacheOptions);
 }