2010/8/24 saeed-vakili <[email protected]>

> from PGroup as p order by p.groupID asc


There is a problem in your query "groupID" is the name of the Column, but
the name of the property seems to be GroupId.
But, this is not the cause of the object reference exception, by sure.

Are you sure you have an instance of session in this point?
> IQuery iquery = session.CreateQuery(query)

-- 
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.

Reply via email to