Geeks With Blogs

News My Blog has been MOVED to

Michael Freidgeim's OLD Blog My Blog has been MOVED to

In EntitySpaces  you can specify filter to load data. I've wrote the following code

EmployeesCollection collection = new EmployeesCollection();   

and couldn't understand why the filter doesn't work.

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()  

Posted on Thursday, February 22, 2007 9:53 AM Code Generation | Back to top

Comments on this post: Don't forget add EntitySpaces operands to Where method.

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Michael Freidgeim | Powered by: