-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: NHibernate Equivalent
PostPosted: Wed Oct 06, 2010 3:00 am 
Newbie

Joined: Tue Aug 18, 2009 9:20 am
Posts: 5
How can i write the following using nHibernate?

SELECT this_.User_Id as y0_, this_.Login as y1_, (this_.User_Name + ' use this ' + this_.Login) as y2_, this_.User_Name as y3_
FROM MIS_tblUsers this_ WHERE this_.User_Id = 1683

narrator


Top
 Profile  
 
 Post subject: Re: NHibernate Equivalent
PostPosted: Fri Oct 22, 2010 7:50 am 
Newbie

Joined: Wed Sep 08, 2010 6:38 am
Posts: 9
Session.Load<T>(id);


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.