Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created January 9, 2021 11:27
Embed
What would you like to do?
Context/UniversidadContexto.cs
using Microsoft.EntityFrameworkCore;
using UniversidadWebsite.Models;
namespace UniversidadWebsite.Context
{
public class UniversidadContexto : DbContext
{
public UniversidadContexto(DbContextOptions<UniversidadContexto> opciones) : base(opciones)
{
}
public DbSet<Estudiante> Estudiantes { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment