In EntitySpaces you can specify filter to load data. I’ve wrote the following code
EmployeesCollection collection = new EmployeesCollection();
The reason is that functions similat to Like, LessThan return esWhereItem that will work only after they passed to esDynamicQuery.Where(Object()) method.
So the correct code must be
Dim collection As EmployeesCollection = New EmployeesCollection()