Senin, 23 Agustus 2010

Nhibernate query only properties and many-to-one

  This is how the domain was build, we decided to set a IList in the NickName class, and make this relation unidirectional. Now I need to issue a query to recover only Id and Url of all NickNameDomainRegistration object belonging to a certain NickName. The obvious solution is, Load the NickName fetching NickNameDomainRegistration, then grab the information you need. But I do

Tidak ada komentar:

Posting Komentar