Class TestMigrationsDbContext
Implements
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
Inherited Members
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, 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> |
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
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService