Can first level cache be used with ICriteria or other APIs?

前端 未结 2 376
春和景丽
春和景丽 2021-01-19 20:48

In NHibernate you can easily benefit from first level cache when using Load or Get methods. But what about ICriteria,

2条回答
  •  自闭症患者
    2021-01-19 21:08

    No, as I understand they don't. They use only second level cache. Firs level cache is only for Get and Load.

提交回复
热议问题