Has anyone advice when working with large database models when using EF4 code first? Entity sets are added to the database context, but if I have 100 tables, I need to create 100 DbSets, 1 for each table:
public class Customers : DbContext
{
public DbSet<Customer> Customers {get; set;}
public DbSet<Employees> Employees {get; set;}
public DbSet<...
...
...
95 more
}
With large database models, is it better to split the DbSets in to multiple classes depending on their domain?