Show / Hide Table of Contents

Class EfCoreRepositoryRegistrar

Inheritance
System.Object
RepositoryRegistrarBase<AbpDbContextRegistrationOptions>
EfCoreRepositoryRegistrar
Inherited Members
RepositoryRegistrarBase<AbpDbContextRegistrationOptions>.Options
RepositoryRegistrarBase<AbpDbContextRegistrationOptions>.AddRepositories()
RepositoryRegistrarBase<AbpDbContextRegistrationOptions>.RegisterDefaultRepositories()
RepositoryRegistrarBase<AbpDbContextRegistrationOptions>.RegisterDefaultRepository(Type)
RepositoryRegistrarBase<AbpDbContextRegistrationOptions>.GetDefaultRepositoryImplementationType(Type)
RepositoryRegistrarBase<AbpDbContextRegistrationOptions>.ShouldRegisterDefaultRepositoryFor(Type)
Namespace: Volo.Abp.EntityFrameworkCore.DependencyInjection
Assembly: Volo.Abp.EntityFrameworkCore.dll
Syntax
public class EfCoreRepositoryRegistrar : RepositoryRegistrarBase<AbpDbContextRegistrationOptions>

Constructors

EfCoreRepositoryRegistrar(AbpDbContextRegistrationOptions)

Declaration
public EfCoreRepositoryRegistrar(AbpDbContextRegistrationOptions options)
Parameters
Type Name Description
AbpDbContextRegistrationOptions options

Methods

GetEntityTypes(Type)

Declaration
protected override IEnumerable<Type> GetEntityTypes(Type dbContextType)
Parameters
Type Name Description
Type dbContextType
Returns
Type Description
IEnumerable<Type>

GetRepositoryType(Type, Type)

Declaration
protected override Type GetRepositoryType(Type dbContextType, Type entityType)
Parameters
Type Name Description
Type dbContextType
Type entityType
Returns
Type Description
Type

GetRepositoryType(Type, Type, Type)

Declaration
protected override Type GetRepositoryType(Type dbContextType, Type entityType, Type primaryKeyType)
Parameters
Type Name Description
Type dbContextType
Type entityType
Type primaryKeyType
Returns
Type Description
Type

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft