Table of Contents

Class DigestDbContext

Namespace
Digest.Data
Assembly
Digest.Data.dll

The app's database: ASP.NET Core Identity tables plus saved links.

public sealed class DigestDbContext : IdentityDbContext, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IDisposable, IAsyncDisposable
Inheritance
DigestDbContext
Implements
Inherited Members

Constructors

DigestDbContext(DbContextOptions<DigestDbContext>)

The app's database: ASP.NET Core Identity tables plus saved links.

public DigestDbContext(DbContextOptions<DigestDbContext> options)

Parameters

options DbContextOptions<DigestDbContext>

Properties

Invites

public DbSet<Invite> Invites { get; }

Property Value

DbSet<Invite>
public DbSet<Link> Links { get; }

Property Value

DbSet<Link>

Methods

OnModelCreating(ModelBuilder)

Configures the schema needed for the identity framework.

protected override void OnModelCreating(ModelBuilder builder)

Parameters

builder ModelBuilder

The builder being used to construct the model for this context.