我试过在 Oracle 中使用 Future 特性,但 NHibernate 不支持它。
我读过一些关于批量获取功能的文章:http://docs.huihoo.com/hibernate/nhibernate-reference-1.2.0/performance.html
如何将它与 Fluent NHibernate 一起使用?应该如何配置?
请您参考如下方法:
为您解答如何使用流利的批处理:
1) 关于收藏
HasMany<MyEntity>(x => x.Entities)
.BatchSize(100);
2) 在类里面
public MyEntityMap()
{
Id(x => x....
...
BatchSize(100);
