Show / Hide Table of Contents

Class AbpMongoDbServiceCollectionExtensions

Inheritance
System.Object
AbpMongoDbServiceCollectionExtensions
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.MongoDB.dll
Syntax
public static class AbpMongoDbServiceCollectionExtensions : object

Methods

AddMongoDbContext<TMongoDbContext>(IServiceCollection, Action<IAbpMongoDbContextRegistrationOptionsBuilder>)

Declaration
public static IServiceCollection AddMongoDbContext<TMongoDbContext>(this IServiceCollection services, Action<IAbpMongoDbContextRegistrationOptionsBuilder> optionsBuilder = null)

    where TMongoDbContext : AbpMongoDbContext
Parameters
Type Name Description
IServiceCollection services
Action<IAbpMongoDbContextRegistrationOptionsBuilder> optionsBuilder
Returns
Type Description
IServiceCollection
Type Parameters
Name Description
TMongoDbContext
Back to top Powered by Volosoft