UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2... NHibernate's support for criteria queries provides an extremely powerful query feature into an easy to use package. NHibernate has a rather complete manual that covers criteria queries, which you can checkout here. The NHibernate documentation has a ton of information packed within it, and can be a little overwhelming for those who are new to NHibernate. So, as ......
UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2... In my last post about NHibernate I mentioned using NHibernate.Mapping.Attributes to simplify things. Since my last post I have had the need to store rather large text data in a SQL Server Text field. My initial attempt was to simply create a C# string property that represented the field as such: [NHMA.Property(Name="SomeDa... public string SomeData { get { return ......
UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2... Today was my first real day playing with NHibernate. The documentation is a little much for a beginner such as myself, but I managed to struggle through it... especially with the help of my coworkers. For those of you who don't know, NHibernate is an Object/Relation Mapper (ORM). It classically uses XML files as meta-data to help with its job. I personally did not like the idea ......