Nhibernate projection with child collection

后端 未结 1 933
囚心锁ツ
囚心锁ツ 2021-01-14 20:02

Using NHibernate 2.1, I\'m trying to project an entity and its child collection into a DTO. My entity looks like this..

public class Application
{
  public          


        
相关标签:
1条回答
  • 2021-01-14 20:32

    I think you might need to do a MutiQuery and bring together the DTO parents and children yourself.

    0 讨论(0)
提交回复
热议问题