/* * Returns all entities of type T that are active or not, in an object that implements interface IQueryable. * Prefered method when there is a need to include attributes that are "lazy". */ protected IQueryable <T> GetQueryable() { return(_dbContext.Set <T>()); }