Created
July 26, 2011 23:39
-
-
Save vcsjones/1108373 to your computer and use it in GitHub Desktop.
NHibernate 3 Query
This file contains hidden or 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
ISession mySession = //Get your session object. | |
var myUsers = from user in mySession.Query<User>() where user.Name == "Kevin" select user; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment