I just signed the assembly and marked it as CLS Complaint.
You can get it here
I just signed the assembly and marked it as CLS Complaint.
You can get it here
I made a documentation error in documentation how you should specify custom access strategies for NHibernate Generics. I forgot that nested types are accessed with a '+', and not '.' I updated this post and the documentation.
The nice thing is that I got an IM question about this very topic ~20 minutes after I made the update, and the second line was "Oh, I see it in your site now."
Scott Hanselman posted about open source projects. He poses the question: "If you work on a Open Source Project, why do you do it? When will you stop?"
I literally has to stop and think about the number of open source projects I'm involved with. Right now it is:
In all cases, I had a "hidden motive" to work on open source stuff. I either wanted more features, wanted to learn the software or thought it was a cool hack that is worth trying. I stop when it has the features I want to or I lose interest. That doesn't mean that I don't work stuff that doesn't immediately benefit me, though. It needs to collide with stuff that I would like to do. And this mean that the reasons can range from "I got a couple of spare moments I can dedicate to this" to "I set this software free, but it come home begging and now I need to care and feed it."
I updated NHibernate Generics and added an EntityDictionary<Tkey,TValue> that you can use, along with all the known benefits of the library.
Have fun, you can find the download here.
Here is a nice article about NHiberate, ASP.Net and Generics, which uses my NHibernate.Generics library.
It got a couple of pointer about NHibernate that I didn't know about, such as the transaction levels and the performance implications of specifying the default schema.
I updated my Projects page with some annoucements, and when I wrote the Rhino Mocks updates I noticed just how many changes I made to it.
It's both cool and scary. The nice thing about it is that I don't have a lot of documentation to write, since I didn't change much outfacing functionality.
I already updated the documentation for NHibernate Generics, so that is done.
The documentation on this site for Brail is deprecated! You should use the Castle website documentation. I'm going to update this one as soon as I can find the time to do so. This is the one project where quite a bit has changed that I need to document.
One of the worst thing about doing open source software is maintaining the documentation. I recently had changed Rhino Mocks, NHibernate Generics and Brail.
This mean that I have to update the documentation of all three of them, and I'm less than excited about doing that :-(
I've updated NHibernate Generics (based on Dragos' suggestion) to add support for different accessors. You can now use the following types to select which naming strategy it will use to get your fields.
The old accessor (NHibernate.Generics.GenericAccessor, NHibernate.Generics) still works, of course, and default to CamelCaseUnderscore naming strategy.
So, there is a new version of NHibernate Generics out with:
Thanks for Dru & Dragos for all the help.
You can get source and binaries here.
Update: Fixed Dragos name, sorry for butchering it.
Update 2: Sorry for butchering it again
Okay, the code is in the Subversion repository, but I'm not ready to release it yet. I've a shameful confession to make first:
I never used an IList with NHibernate (or ActiveRecord) before, so I'm not really sure whatever my code makes good sense or not. And, in addition to that, I haven't had the time to test it propertly. I would appriciate it if someone who had used it before could take it for a spin and tell me what they think the bad points are.
There are posts all the way to Jul 22, 2025