Author Login
Post Reply
Hi
Has there been/Are there any thoughts of splitting the nhib assembly into smaller ones?
I believe there are three common ways of impl repositories using nhib; In smaller systems, some prefer to have methods like "FindPersonByName" where nhib interfaces are encapsulated. In larger system this can quickly become a mess and I guess people then choose between wrapping nhibs query stuff into their own query objects or have general repositories with interfaces relying on nhibs interfaces like ICriterion. The former (wrap it in own built query objects) can be quite a big job so I guess the latter is the most popular (?). In that case, it would be nice if query stuff like ICriterion was put in a seperate assembly available for higher layers.
As a side note, the same goes for IUserType. I avoid using it due to the ref to nhibernate.dll from my domain model. (it's doubtable that I would like the nhibOnlyIUserTypeStuff much better though, to be honest ;))
/Roger
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nhibernate-development mailing list
Nhibernate-development@(protected)
https://lists.sourceforge.net/lists/listinfo/nhibernate-development