Lito
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using BibliotecaAPI.Models;
|
||||
|
||||
namespace BibliotecaAPI.Data
|
||||
{
|
||||
public class BibliotecaContext : DbContext
|
||||
{
|
||||
public BibliotecaContext(DbContextOptions<BibliotecaContext> options) : base(options) { }
|
||||
|
||||
public DbSet<Libro> Libros { get; set; }
|
||||
public DbSet<Usuario> Usuarios { get; set; }
|
||||
public DbSet<Prestamo> Prestamos { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user