Class TestMigrationsDbContext
Implements
System.IDisposable
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<><System.IServiceProvider>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService
System.IAsyncDisposable
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 |
|---|---|---|
| Microsoft.EntityFrameworkCore.DbContextOptions<><TestMigrationsDbContext> | options |
Properties
Author
Declaration
public DbSet<Author> Author { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.EntityFrameworkCore.DbSet<><Author> |
Books
Declaration
public DbSet<BookInSecondDbContext> Books { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.EntityFrameworkCore.DbSet<><BookInSecondDbContext> |
Cities
Declaration
public DbSet<City> Cities { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.EntityFrameworkCore.DbSet<><City> |
DummyEntities
Declaration
public DbSet<ThirdDbContextDummyEntity> DummyEntities { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.EntityFrameworkCore.DbSet<><ThirdDbContextDummyEntity> |
EntityWithIntPks
Declaration
public DbSet<EntityWithIntPk> EntityWithIntPks { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.EntityFrameworkCore.DbSet<><EntityWithIntPk> |
People
Declaration
public DbSet<Person> People { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.EntityFrameworkCore.DbSet<><Person> |
Products
Declaration
public DbSet<Product> Products { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.EntityFrameworkCore.DbSet<><Product> |
Methods
OnModelCreating(ModelBuilder)
Declaration
protected override void OnModelCreating(ModelBuilder modelBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.EntityFrameworkCore.ModelBuilder | modelBuilder |
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Abp.EntityFrameworkCore.TestMigrationsDbContext>.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)
Implements
System.IDisposable
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService
System.IAsyncDisposable