Linq for NHibernate and fetch mode of eager loading

前端 未结 4 1126
广开言路
广开言路 2020-12-13 03:37

Is there a way to set the fetchmode to eager for more than one object using linq for nhibernate. There seems to be an expand method which only allows me to set one object. H

4条回答
  •  春和景丽
    2020-12-13 04:34

    As far as I can see, this is not equivalent: SetFetchMode hydrates an objects tree and the Expand method retrieves a cartesian product.

提交回复
热议问题