Class AbpMongoDbServiceCollectionExtensions
Inheritance
AbpMongoDbServiceCollectionExtensions
Assembly: Volo.Abp.MongoDB.dll
Syntax
public static class AbpMongoDbServiceCollectionExtensions
Methods
AddMongoDbContext<TMongoDbContext>(IServiceCollection, Action<IAbpMongoDbContextRegistrationOptionsBuilder>?)
Declaration
public static IServiceCollection AddMongoDbContext<TMongoDbContext>(this IServiceCollection services, Action<IAbpMongoDbContextRegistrationOptionsBuilder>? optionsBuilder = null) where TMongoDbContext : AbpMongoDbContext
Parameters
Returns
Type Parameters
| Name |
Description |
| TMongoDbContext |
|