|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using MongoDB.Driver; |
|
|
|
using MongoDB.Driver.Linq; |
|
|
|
using Volo.Abp.Domain.Entities; |
|
|
|
|
|
|
|
namespace Volo.Abp.Domain.Repositories.MongoDB |
|
|
|
@ -9,6 +10,8 @@ namespace Volo.Abp.Domain.Repositories.MongoDB |
|
|
|
IMongoDatabase Database { get; } |
|
|
|
|
|
|
|
IMongoCollection<TEntity> Collection { get; } |
|
|
|
|
|
|
|
IMongoQueryable<TEntity> GetMongoQueryable(); |
|
|
|
} |
|
|
|
|
|
|
|
public interface IMongoDbRepository<TEntity, TKey> : IMongoDbRepository<TEntity>, IRepository<TEntity, TKey> |
|
|
|
|