diff options
author | HombreLaser <sebastian-440@live.com> | 2022-09-15 21:35:03 -0500 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2022-09-15 21:35:03 -0500 |
commit | 07d82966b9d2d4adddcb6e80367f60726801fc20 (patch) | |
tree | 3dc6314d81e2c6c42c5f124706d1a576fc950993 /Models | |
parent | 2c9c2cc3b414115bca9b6c63ca7b20d49a8a8ec1 (diff) |
Añadir Autor al contexto de la bd
Diffstat (limited to 'Models')
-rw-r--r-- | Models/LibraryContext.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Models/LibraryContext.cs b/Models/LibraryContext.cs index 5e31e8f..b07ba54 100644 --- a/Models/LibraryContext.cs +++ b/Models/LibraryContext.cs @@ -5,7 +5,5 @@ namespace LibraryAPI.Models { public DbSet<Author>? Authors { get; set; } public DbSet<Book>? Books { get; set; } public LibraryContext(DbContextOptions<LibraryContext> options) : base(options) {} - //protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) - // => optionsBuilder.UseNpgsql("Host=127.0.0.1;Database=library;Username=luis"); } }
\ No newline at end of file |