Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created February 16, 2013 08:49
Show Gist options
  • Save wullemsb/4966132 to your computer and use it in GitHub Desktop.
Save wullemsb/4966132 to your computer and use it in GitHub Desktop.
Set Timeout on NHibernate QueryOver
var products=unitOfWork
.Session
.QueryOver<Product>()
.UnderlyingCriteria.SetTimeout(120)
.List<Product>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment