EntityFramework
internal class ModelContext : DbContext
{
public ModelContext():base("name=DefaultConnection")
{
}
public DbSet<Employee> Employees { get; set; }
}
internal class ModelContext : DbContext
{
public ModelContext():base("name=DefaultConnection")
{
}
public DbSet<Employee> Employees { get; set; }
}