Class MongoDbRepositoryRegistrar
Inheritance
object
MongoDbRepositoryRegistrar
Inherited Members
RepositoryRegistrarBase<AbpMongoDbContextRegistrationOptions>.RegisterSpecifiedDefaultRepositories()
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.MongoDB.DependencyInjection
Assembly: Volo.Abp.MongoDB.dll
Syntax
public class MongoDbRepositoryRegistrar : RepositoryRegistrarBase<AbpMongoDbContextRegistrationOptions>
Constructors
MongoDbRepositoryRegistrar(AbpMongoDbContextRegistrationOptions)
Declaration
public MongoDbRepositoryRegistrar(AbpMongoDbContextRegistrationOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| AbpMongoDbContextRegistrationOptions | options |
Methods
GetEntityTypes(Type)
Declaration
protected override IEnumerable<Type> GetEntityTypes(Type dbContextType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | dbContextType |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T><System.Type> |
Overrides
Volo.Abp.Domain.Repositories.RepositoryRegistrarBase<Volo.Abp.MongoDB.DependencyInjection.AbpMongoDbContextRegistrationOptions>.GetEntityTypes(System.Type)
GetRepositoryType(Type, Type, Type)
Declaration
protected override Type GetRepositoryType(Type dbContextType, Type entityType, Type primaryKeyType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | dbContextType | |
| System.Type | entityType | |
| System.Type | primaryKeyType |
Returns
| Type | Description |
|---|---|
| System.Type |
Overrides
Volo.Abp.Domain.Repositories.RepositoryRegistrarBase<Volo.Abp.MongoDB.DependencyInjection.AbpMongoDbContextRegistrationOptions>.GetRepositoryType(System.Type, System.Type, System.Type)
GetRepositoryType(Type, Type)
Declaration
protected override Type GetRepositoryType(Type dbContextType, Type entityType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | dbContextType | |
| System.Type | entityType |
Returns
| Type | Description |
|---|---|
| System.Type |
Overrides
Volo.Abp.Domain.Repositories.RepositoryRegistrarBase<Volo.Abp.MongoDB.DependencyInjection.AbpMongoDbContextRegistrationOptions>.GetRepositoryType(System.Type, System.Type)