ApiSoftway/Models/TOKEN_DbContext.cs
2024-06-17 15:50:52 +02:00

21 lines
582 B
C#

using Microsoft.EntityFrameworkCore;
using Microsoft.IdentityModel.Tokens;
namespace ApiSoftway.Models
{
public class TOKEN_DbContext : DbContext
{
public DbSet<Token>? tok { get; set; }
/// <summary>ConfigurazioniDbContext</summary>
public TOKEN_DbContext(DbContextOptions<TOKEN_DbContext> options) : base(options)
{
}
/// <summary>OnModelCreating</summary>
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<Token>().ToTable("Token");
}
}
}