Tag NHibernate

04 Dec 2010

NHibernate 3.0 has been released

Just a quick post, in case you have not seen on twitter. Nhibernate 3.0 GA has been released :)Files are located on Source Forge HEREEnjoy all the new Linq functionality and many more new features Read more
26 Sep 2010

NHibenate and Varchar(Max) 4k limit

From a little bit of research with the release of SQL 2005, the Text and NText have been;deprecated;in favour for VarChar(Max) and NVarChar(Max).However I was observing a issue when using VarChar(Max), each time I saved more than 4k bytes of data int Read more
28 Aug 2010

Getting the 'Tag Frequency' using NH Linq

I wanted to have a Tag cloud on a blog site I am working on. For this I needed to have the Tag's and the frequency they appear on Articles. Using the NH 3 its really simple using the Linq provider (now included).Here is the Table structureArticle;;; Read more
13 Aug 2010

Using DataAnnotations with NHibernate

There are many validation frameworks the main one is NHibernate Validator, which uses its own set of Attributes. I wanted to use the DataAnnotation Attributes as they are supported by Asp.Net MVC out the box. Im sure there are some solutions for th Read more
23 Jun 2010

Whiteboard Released

Whiteboard is a chat web application, consider it a proof of concept. The goal of this project was to design and implement a web application using Design Patterns and Open Source FrameworksTechnology StackNHibernate (using Linq to NHibernate)FluentNH Read more
06 Apr 2010

Nhibernate: Self Reference Object

I needed to see if i could make an object which references another instance of the same class.Here is a quick example (Im using FluentNhibernate) of a Staff class, each staff member can have a manager, and they can have a number of report's This lead Read more