Class AbpDbContextRegistrationOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.EntityFrameworkCore.DependencyInjection
Assembly: Volo.Abp.EntityFrameworkCore.dll
Syntax
public class AbpDbContextRegistrationOptions : AbpCommonDbContextRegistrationOptions, IAbpDbContextRegistrationOptionsBuilder, IAbpCommonDbContextRegistrationOptionsBuilder
Constructors
AbpDbContextRegistrationOptions(Type, IServiceCollection)
Declaration
public AbpDbContextRegistrationOptions(Type originalDbContextType, IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | originalDbContextType | |
| Microsoft.Extensions.DependencyInjection.IServiceCollection | services |
Properties
AbpEntityOptions
Declaration
public Dictionary<Type, object> AbpEntityOptions { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<TKey, TValue><System.Type, object> |
Methods
Entity<TEntity>(Action<AbpEntityOptions<TEntity>>)
Declaration
public void Entity<TEntity>(Action<AbpEntityOptions<TEntity>> optionsAction) where TEntity : IEntity
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<T><AbpEntityOptions<TEntity>> | optionsAction |
Type Parameters
| Name | Description |
|---|---|
| TEntity |