I\'m using the Entity Framework with a large database (made up of more than 200 tables).
Trying to create a generic method that returns the DbSet
DbSet
Why don't you try changing your constrain to class instead of EntityObject
public IQueryable GetFromDatabase() where T : class