mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
15 lines
344 B
C#
15 lines
344 B
C#
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; }
|
|
}
|
|
} |