Class BankContext
- Namespace
- BankBackend.Repository
- Assembly
- BankBackend.dll
public class BankContext : DbContext, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IDisposable, IAsyncDisposable
- Inheritance
-
BankContext
- Implements
- Inherited Members
Constructors
BankContext(DbContextOptions<BankContext>)
public BankContext(DbContextOptions<BankContext> options)
Parameters
optionsDbContextOptions<BankContext>
Properties
Accounts
public DbSet<Account> Accounts { get; }
Property Value
Transactions
public DbSet<Transaction> Transactions { get; }
Property Value
Users
public DbSet<User> Users { get; }