using Microsoft.EntityFrameworkCore; namespace LibraryAPI.Models { public class LibraryContext : DbContext { public DbSet? Books { get; set; } public LibraryContext(DbContextOptions options) : base(options) {} //protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) // => optionsBuilder.UseNpgsql("Host=127.0.0.1;Database=library;Username=luis"); } }