Show / Hide Table of Contents

Class AbpMongoDbServiceCollectionExtensions

Inheritance
object
AbpMongoDbServiceCollectionExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Microsoft.Extensions.DependencyInjection
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
Type Name Description
IServiceCollection services
Action<IAbpMongoDbContextRegistrationOptionsBuilder> optionsBuilder
Returns
Type Description
IServiceCollection
Type Parameters
Name Description
TMongoDbContext
In this article
Back to top Powered by Volosoft