mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
12 lines
314 B
C#
12 lines
314 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using SharpbinV3.Data.Entities;
|
|
|
|
namespace SharpbinV3.Data
|
|
{
|
|
public sealed class AppDbContext(DbContextOptions<AppDbContext> options) : DbContext(options)
|
|
{
|
|
public DbSet<User> Users => Set<User>();
|
|
public DbSet<Paste> Pastes => Set<Paste>();
|
|
}
|
|
}
|