I'm new to nh so I could be doing something wrong, but here's my
issue:

I have an object that has a string property and I'm doing a NHib.Linq
query, but the string portion is never enclosed in single quotes.  In
the meantime, I had to handwrite the query.

code:

var value = session.Linq<MyEntity>().Where(x => x.Id ==
otherObject.Id);


Yes, you are seeing this correctly, the legacy database has certain
Ids as strings.  Could that be the issue?

Sam

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to nhus...@googlegroups.com.
To unsubscribe from this group, send email to 
nhusers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to