Is it possible to use ToString() (or something similar) in Linq
queries?
I'd like to do something like this:
session.Query<Entity>().Where(x =>
x.SomeInt64Property.ToString().Contains("123")).ToArray();
But this throws a NotSupportedException with Message "System.String
ToString()".
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.