Class RepositoryRegistration_Tests.MyTestRepositoryRegistrar
Inheritance
object
RepositoryRegistration_Tests.MyTestRepositoryRegistrar
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Domain.Repositories
Assembly: Volo.Abp.Ddd.Tests.dll
Syntax
public class RepositoryRegistration_Tests.MyTestRepositoryRegistrar : RepositoryRegistrarBase<AbpCommonDbContextRegistrationOptions>
Constructors
MyTestRepositoryRegistrar(AbpCommonDbContextRegistrationOptions)
Declaration
public MyTestRepositoryRegistrar(AbpCommonDbContextRegistrationOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| AbpCommonDbContextRegistrationOptions | 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.DependencyInjection.AbpCommonDbContextRegistrationOptions>.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.DependencyInjection.AbpCommonDbContextRegistrationOptions>.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.DependencyInjection.AbpCommonDbContextRegistrationOptions>.GetRepositoryType(System.Type, System.Type)