Show / Hide Table of Contents

Class TestMigrationsDbContext

Inheritance
object
AbpDbContext<TestMigrationsDbContext>
TestMigrationsDbContext
Implements
IAbpEfCoreDbContext
IEfCoreDbContext
IDisposable
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
IAsyncDisposable
IAbpEfCoreDbFunctionContext
ITransientDependency
Inherited Members
AbpDbContext<TestMigrationsDbContext>.DbContextOptions
AbpDbContext<TestMigrationsDbContext>.OnConfiguring(DbContextOptionsBuilder)
AbpDbContext<TestMigrationsDbContext>.ConfigureConventions(ModelConfigurationBuilder)
AbpDbContext<TestMigrationsDbContext>.TrySetDatabaseProvider(ModelBuilder)
AbpDbContext<TestMigrationsDbContext>.GetDatabaseProviderOrNull(ModelBuilder)
AbpDbContext<TestMigrationsDbContext>.SaveChangesAsync(bool, CancellationToken)
AbpDbContext<TestMigrationsDbContext>.PublishEntityEvents(EntityEventReport)
AbpDbContext<TestMigrationsDbContext>.SaveChangesOnDbContextAsync(bool, CancellationToken)
AbpDbContext<TestMigrationsDbContext>.Initialize(AbpEfCoreDbContextInitializationContext)
AbpDbContext<TestMigrationsDbContext>.ChangeTracker_Tracked(object, EntityTrackedEventArgs)
AbpDbContext<TestMigrationsDbContext>.ChangeTracker_StateChanged(object, EntityStateChangedEventArgs)
AbpDbContext<TestMigrationsDbContext>.FillExtraPropertiesForTrackedEntities(EntityTrackedEventArgs)
AbpDbContext<TestMigrationsDbContext>.PublishEventsForTrackedEntity(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.HandlePropertiesBeforeSave()
AbpDbContext<TestMigrationsDbContext>.CreateEventReport()
AbpDbContext<TestMigrationsDbContext>.HandleExtraPropertiesOnSave(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.ApplyAbpConceptsForAddedEntity(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.ApplyAbpConceptsForModifiedEntity(EntityEntry, bool)
AbpDbContext<TestMigrationsDbContext>.ApplyAbpConceptsForDeletedEntity(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.IsHardDeleted(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.UpdateConcurrencyStamp(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.SetConcurrencyStampIfNull(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.CheckAndSetId(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.TrySetGuidId(EntityEntry, IEntity<Guid>)
AbpDbContext<TestMigrationsDbContext>.SetCreationAuditProperties(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.SetModificationAuditProperties(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.SetDeletionAuditProperties(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.IncrementEntityVersionProperty(EntityEntry)
AbpDbContext<TestMigrationsDbContext>.ConfigureBaseProperties<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<TestMigrationsDbContext>.ConfigureGlobalFilters<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<TestMigrationsDbContext>.ConfigureValueConverter<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<TestMigrationsDbContext>.ConfigureValueGenerated<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<TestMigrationsDbContext>.ShouldFilterEntity<TEntity>(IMutableEntityType)
AbpDbContext<TestMigrationsDbContext>.CreateFilterExpression<TEntity>(ModelBuilder)
AbpDbContext<TestMigrationsDbContext>.UseDbFunction()
AbpDbContext<TestMigrationsDbContext>.GetCompiledQueryCacheKey()
AbpDbContext<TestMigrationsDbContext>.LazyServiceProvider
AbpDbContext<TestMigrationsDbContext>.CurrentTenantId
AbpDbContext<TestMigrationsDbContext>.IsMultiTenantFilterEnabled
AbpDbContext<TestMigrationsDbContext>.IsSoftDeleteFilterEnabled
AbpDbContext<TestMigrationsDbContext>.CurrentTenant
AbpDbContext<TestMigrationsDbContext>.GuidGenerator
AbpDbContext<TestMigrationsDbContext>.DataFilter
AbpDbContext<TestMigrationsDbContext>.EntityChangeEventHelper
AbpDbContext<TestMigrationsDbContext>.EntityChangeOptions
AbpDbContext<TestMigrationsDbContext>.AuditPropertySetter
AbpDbContext<TestMigrationsDbContext>.EntityHistoryHelper
AbpDbContext<TestMigrationsDbContext>.AuditingManager
AbpDbContext<TestMigrationsDbContext>.UnitOfWorkManager
AbpDbContext<TestMigrationsDbContext>.Clock
AbpDbContext<TestMigrationsDbContext>.DistributedEventBus
AbpDbContext<TestMigrationsDbContext>.LocalEventBus
AbpDbContext<TestMigrationsDbContext>.Logger
AbpDbContext<TestMigrationsDbContext>.AbpEfCoreNavigationHelper
AbpDbContext<TestMigrationsDbContext>.Options
AbpDbContext<TestMigrationsDbContext>.GlobalFilterOptions
Namespace: Volo.Abp.EntityFrameworkCore
Assembly: Volo.Abp.EntityFrameworkCore.Tests.dll
Syntax
public class TestMigrationsDbContext : AbpDbContext<TestMigrationsDbContext>, IAbpEfCoreDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IAsyncDisposable, IAbpEfCoreDbFunctionContext, ITransientDependency

Constructors

TestMigrationsDbContext(DbContextOptions<TestMigrationsDbContext>)

Declaration
public TestMigrationsDbContext(DbContextOptions<TestMigrationsDbContext> options)
Parameters
Type Name Description
DbContextOptions<TestMigrationsDbContext> options

Properties

AppEntityWithNavigations

Declaration
public DbSet<AppEntityWithNavigations> AppEntityWithNavigations { get; set; }
Property Value
Type Description
DbSet<AppEntityWithNavigations>

AppEntityWithNavigationsForeign

Declaration
public DbSet<AppEntityWithNavigationsForeign> AppEntityWithNavigationsForeign { get; set; }
Property Value
Type Description
DbSet<AppEntityWithNavigationsForeign>

Author

Declaration
public DbSet<Author> Author { get; set; }
Property Value
Type Description
DbSet<Author>

Books

Declaration
public DbSet<BookInSecondDbContext> Books { get; set; }
Property Value
Type Description
DbSet<BookInSecondDbContext>

Categories

Declaration
public DbSet<Category> Categories { get; set; }
Property Value
Type Description
DbSet<Category>

Cities

Declaration
public DbSet<City> Cities { get; set; }
Property Value
Type Description
DbSet<City>

DummyEntities

Declaration
public DbSet<ThirdDbContextDummyEntity> DummyEntities { get; set; }
Property Value
Type Description
DbSet<ThirdDbContextDummyEntity>

EntityWithIntPks

Declaration
public DbSet<EntityWithIntPk> EntityWithIntPks { get; set; }
Property Value
Type Description
DbSet<EntityWithIntPk>

People

Declaration
public DbSet<Person> People { get; set; }
Property Value
Type Description
DbSet<Person>

Products

Declaration
public DbSet<Product> Products { get; set; }
Property Value
Type Description
DbSet<Product>

Methods

OnModelCreating(ModelBuilder)

Declaration
protected override void OnModelCreating(ModelBuilder modelBuilder)
Parameters
Type Name Description
ModelBuilder modelBuilder
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Abp.EntityFrameworkCore.TestMigrationsDbContext>.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)

Implements

IAbpEfCoreDbContext
IEfCoreDbContext
IDisposable
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService
IAsyncDisposable
IAbpEfCoreDbFunctionContext
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform