Skip to content
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.

Any/All with collections of basic types. #26

Open
barrybonds1 opened this issue May 16, 2016 · 0 comments
Open

Any/All with collections of basic types. #26

barrybonds1 opened this issue May 16, 2016 · 0 comments

Comments

@barrybonds1
Copy link

In the CollectionMethods unit test class, there are tests such as:

RelatedParents/any(x:x/Int32 lt 5)

Where 'Int32' is a property of the class who's collection is being iterated over. However, in my code I need to iterate over a collection of basic types (strings, ints). When I attempt to do this, i.e.:

RelatedBasicTypeColl/any(x:x lt 5)

I get:
An exception of type 'NHibernate.QueryException' occurred in NHibernate.dll but was not handled in user code. Additional information: Could not find property t2.

Is this functionality that's expected to work?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant