Showing posts with label NHibernate. Show all posts
Showing posts with label NHibernate. Show all posts

Monday, July 7, 2008

Small but interesting find

Yesterday I was coding and I needed to create a criteria like

....
Repository.FinOne(Restriccions.Eq("Email", email));
...

however I wanted to make sure that there was not prblems with caseing
it turns out IgnoreCase exists and can be used this way :D

Repository.FinOne(Restriccions.Eq("Email", email).IgnoreCase());

I was really happy to find this, thanks NHibernate in Action!

Tuesday, June 10, 2008

New release of Nhibernate EAP

The most interesting thing today was an email from Manning with the new release of the EAP of Nhibernate in Action (still in chapter 3 :( ) .
On the plus side, first time I ever bother reading the table of contents in detail, and yes, I found an appendix called Introducing ActiveRecord and MonoRail, at first this made me really happy, but now that I think about it, the appendix should really only be about Active Record, else its gonna be too short.
I think I would like to see a mention of Machine Migrations (and similar tools)

PS: Did I just say this is the most interesting thing in the day ? ( well appart from lunch in the park yeah, it pretty much was)

Thursday, May 22, 2008

Nhibernate from the begining

I ve been suing NH for a while now, but i never started a project from the begining or used purely nh (I mean without Castle Active Record) started to read NHibernate in Action ( the EAP edition) so let see how it goes.