Interface IAbpMongoDbContext
Namespace: Volo.Abp.MongoDB
Assembly: Volo.Abp.MongoDB.dll
Syntax
public interface IAbpMongoDbContext
Properties
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
| Name | Description |
|---|---|
| T |