Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Data.Entity;
- using System.Linq;
- using System.Web;
- namespace ADSProjectLab.Models.Context
- {
- public class MyDbContext : DbContext
- {
- public MyDbContext() : base("DefaultConnection")
- {
- }
- public DbSet<Carrera> Carrera { get; set; }
- public DbSet<Materia> Materia { get; set; }
- public DbSet<Profesor> Profesor { get; set; }
- public DbSet<Estudiante> Estudiante { get; set; }
- public DbSet<Grupo> Grupo { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement