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