using PF3.Models; using Microsoft.EntityFrameworkCore; namespace PF3; public class PF3DbContext : DbContext { public DbSet Shows { get; set; } public DbSet Sounds { get; set; } public DbSet SoundsCategorys { get; set; } public DbSet SoundsTimecodes { get; set; } public DbSet Staffs { get; set; } public DbSet Trucks { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)//Configuration de la connexion à la BDD { /* string connectionString = "Server=romaric-thibault.fr;" + "Database=timothe_EfCoreLibrary;" + "User Id=timothe;" + "Password=Onto9-Cage-Afflicted;" + "TrustServerCertificate=true;"; optionsBuilder.UseSqlServer(connectionString); */ } protected override void OnModelCreating(ModelBuilder modelBuilder) { //Vide pour le moment } }