Class ServerDbContext
Implements
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
Inherited Members
Namespace: OpenIddict.Demo.Server.EntityFrameworkCore
Assembly: OpenIddict.Demo.Server.dll
Syntax
[ConnectionStringName("Default")]
public class ServerDbContext : AbpDbContext<ServerDbContext>, IAbpEfCoreDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IAsyncDisposable, IAbpEfCoreDbFunctionContext, ITransientDependency
Constructors
ServerDbContext(DbContextOptions<ServerDbContext>)
Declaration
public ServerDbContext(DbContextOptions<ServerDbContext> options)
Parameters
Type | Name | Description |
---|---|---|
DbContextOptions<ServerDbContext> | options |
Methods
OnModelCreating(ModelBuilder)
Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
ModelBuilder | builder |
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<OpenIddict.Demo.Server.EntityFrameworkCore.ServerDbContext>.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