Created
February 16, 2013 08:48
-
-
Save wullemsb/4966120 to your computer and use it in GitHub Desktop.
Set TimeOut on NHibernate ICriteria
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var products=unitOfWork | |
.Session | |
.CreateCriteria<Product>() | |
.SetTimeout(120) | |
.List<Product>(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment