Interface IAbpMongoClientFactory
Namespace: Volo.Abp.MongoDB.Clients
Assembly: Volo.Abp.MongoDB.dll
Syntax
public interface IAbpMongoClientFactory
Methods
Get(MongoUrl)
Declaration
[Obsolete("Use GetAsync method")]
MongoClient Get(MongoUrl mongoUrl)
Parameters
| Type | Name | Description |
|---|---|---|
| MongoUrl | mongoUrl |
Returns
| Type | Description |
|---|---|
| MongoClient |
GetAsync(MongoUrl)
Declaration
Task<MongoClient> GetAsync(MongoUrl mongoUrl)
Parameters
| Type | Name | Description |
|---|---|---|
| MongoUrl | mongoUrl |
Returns
| Type | Description |
|---|---|
| Task<MongoClient> |