Interface IAbpMongoDbContext
Assembly: Volo.Abp.MongoDB.dll
Syntax
public interface IAbpMongoDbContext
Properties
Client
Declaration
IMongoClient Client { get; }
Property Value
Type |
Description |
IMongoClient |
|
Database
Declaration
IMongoDatabase Database { get; }
Property Value
Type |
Description |
IMongoDatabase |
|
SessionHandle
Declaration
IClientSessionHandle? SessionHandle { get; }
Property Value
Type |
Description |
IClientSessionHandle |
|
Methods
Collection<T>()
Declaration
IMongoCollection<T> Collection<T>()
Returns
Type |
Description |
IMongoCollection<T> |
|
Type Parameters
Extension Methods