Class TestMigrationsDbContext
Inheritance
TestMigrationsDbContext
Implements
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
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
Properties
AppEntityWithNavigations
Declaration
public DbSet<AppEntityWithNavigations> AppEntityWithNavigations { get; set; }
Property Value
AppEntityWithNavigationsForeign
Declaration
public DbSet<AppEntityWithNavigationsForeign> AppEntityWithNavigationsForeign { get; set; }
Property Value
Author
Declaration
public DbSet<Author> Author { get; set; }
Property Value
Type |
Description |
DbSet<Author> |
|
Books
Declaration
public DbSet<BookInSecondDbContext> Books { get; set; }
Property Value
Categories
Declaration
public DbSet<Category> Categories { get; set; }
Property Value
Cities
Declaration
public DbSet<City> Cities { get; set; }
Property Value
Type |
Description |
DbSet<City> |
|
DummyEntities
Declaration
public DbSet<ThirdDbContextDummyEntity> DummyEntities { get; set; }
Property Value
EntityWithIntPks
Declaration
public DbSet<EntityWithIntPk> EntityWithIntPks { get; set; }
Property Value
People
Declaration
public DbSet<Person> People { get; set; }
Property Value
Type |
Description |
DbSet<Person> |
|
Products
Declaration
public DbSet<Product> Products { get; set; }
Property Value
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
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService
Extension Methods