Hello all,
I'm using Linq-to-nh and when I do
query.Where(user => names.Contains(user.Name.Substring(0, 2)));
I get a null reference exception.
Any idea how this should be done and/or what's wrong in my code? Cause
when I remove the Substring the query passes just fine...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---