mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 20:40:55 +00:00
Начал проект по новой, не спеша, аккуратно, крч жопа >:(
This commit is contained in:
1 parent
bd5b8f84a7
commit
a987494d29
11 files changed
+367
No files matched your search
@@ -0,0 +1,15 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using CartriX.Api.Models;
|
||||
|
||||
namespace CartriX.Api
|
||||
{
|
||||
public class AppDbContext : DbContext
|
||||
{
|
||||
public AppDbContext(DbContextOptions options) : base(options)
|
||||
{
|
||||
|
||||
}
|
||||
public DbSet<Printer> Printers { get; set; }
|
||||
public DbSet<Cartridge> Cartridges { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user