21 lines
582 B
C#
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");
|
|
}
|
|
}
|
|
}
|