-->
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.  [ 1 post ] 
Author Message
 Post subject: Genwise templates & Best Practices for Winforms
PostPosted: Thu Dec 06, 2007 10:37 am 
Newbie

Joined: Thu Dec 06, 2007 10:14 am
Posts: 6
Hello all,
I've been reading a lot lately about NHibernate and been trying it out with small examples and tests.
Now the time has come to choose the OR mapping tool with which we're going to work and I'm a bit lost.
The thing is, we were thinking of using Genwise initially with NHibernate, but then, looking at the generated code I was somewhat lost-
each plain old C# object generated have a related factory. the CRUD is based on the ICriteria queries, each factory contains a sessionScope, criteria 'get' (or fetch) queries don't use generics and it seems to me that as far as lazy loading goes, you need to remember each time to reopen the session whenever wanting to lazy load the IList property...

Does this make sense to anyone? Does anyone have an opinion about the Genwise templates? Are there any best practices for winforms I can follow (I've only came up with the asp.net best practices code project article)?
Any suggestions on where to start and how?


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

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.