mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
13 lines
475 B
C#
13 lines
475 B
C#
using CartriX.Share;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace CartriX.Server.Data;
|
|
|
|
public class CartriXDbContext(DbContextOptions<CartriXDbContext> options) : DbContext(options)
|
|
{
|
|
public DbSet<Printer> Printers => Set<Printer>();
|
|
public DbSet<Cartridge> Cartridges => Set<Cartridge>();
|
|
public DbSet<CartridgeInstallation> CartridgeInstallations => Set<CartridgeInstallation>();
|
|
public DbSet<PageCounterLog> PageCounterLogs => Set<PageCounterLog>();
|
|
}
|