How can one fetch partial objects in NHibernate?

Posted by mark on Stack Overflow See other posts from Stack Overflow or by mark
Published on 2010-03-18T13:32:28Z Indexed on 2010/03/18 13:41 UTC
Read the original article Hit count: 263

Filed under:
|
|

Dear ladies and sirs.

I have an object O with 2 fields - A and B. How can I fetch O from the database so that only the field A is fetched?

Of course, my real application has objects with many more fields, but two fields are enough to understand the principal.

I am using NHibernate 2.1.

Thanks.

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about partial