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 MVCCMigration.Models
- {
- public class EmployeeContext : DbContext
- {
- public EmployeeContext() : base("name=EmployeeContext") {
- }
- public DbSet<Department> department { get; set; }
- public DbSet<Employee> employee { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement