how count objects returned an objectquery<t>?
i am building an objectquery this:
twine query = "select value obj entities.class obj " +
"where obj.property = @value";
objectquery<class> oquery = new objectquery<class>(query, entitycontext.instance);
oquery.parameters.add(new objectparameter("value", somevariable));
i distribute vigilant datasource control, iterate foreach loop even force coming list, however, i i count array objects returned, but forcing materialization?
do i need emanate follower query govern count() there duty me somewhere?
thank you.
Comments
Post a Comment