如何增加 NHibernate Linq To Sql 的超时时间?
不是连接超时,而是 ado 命令超时。
using (ISession session = NHibernateHelper.OpenSession(NHibernateHelper.Databases.CarrierCDR))
using (session.BeginTransaction(IsolationLevel.ReadUncommitted))
{
lCdrs = (from verizon in session.Linq<Domain.Verizon>()
where verizon.Research == true
&& verizon.ReferenceTable == null
orderby verizon.CallBillingDate descending
select verizon).ToList();
}