mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-06 21:10:55 +00:00
srfedgdfgh
This commit is contained in:
1 parent
2883956264
commit
4a0ac97c24
9 files changed
+225
-5
No files matched your search
@@ -0,0 +1,12 @@
|
||||
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>();
|
||||
}
|
||||
Reference in new issue
Block a user