Class MongoDbContextTypeProvider
Inheritance
object
MongoDbContextTypeProvider
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.MongoDB
Assembly: Volo.Abp.MongoDB.dll
Syntax
public class MongoDbContextTypeProvider : IMongoDbContextTypeProvider, ITransientDependency
Constructors
MongoDbContextTypeProvider(IOptions<AbpMongoDbContextOptions>, ICurrentTenant)
Declaration
public MongoDbContextTypeProvider(IOptions<AbpMongoDbContextOptions> options, ICurrentTenant currentTenant)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.Options.IOptions<TOptions><AbpMongoDbContextOptions> | options | |
| ICurrentTenant | currentTenant |
Methods
GetDbContextType(Type)
Declaration
public virtual Type GetDbContextType(Type dbContextType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | dbContextType |
Returns
| Type | Description |
|---|---|
| System.Type |