You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
PortfolioLink/backend/PPTLDbContext.cs

22 lines
673 B

using Microsoft.EntityFrameworkCore;
using Models;
using Microsoft.Data.SqlClient;
namespace Models
{
public class PortfolioPortalDbContext : DbContext
{
public PortfolioPortalDbContext(DbContextOptions<PortfolioPortalDbContext> options) : base(options) {}
public DbSet<Portfolio> Portfolios { get; set; }
public DbSet<PortfolioData> PortfolioData { get; set; }
public DbSet<AuthLevels> AuthLevels { get; set; }
public DbSet<Auth> Auths { get; set; }
public DbSet<Company> Companies { get; set; }
public DbSet<User> Users { get; set; }
public DbSet<LeafHeader> LeafHeaders { get; set; }
}
}