Today I went to a talk by Hadi Hariri about dynamics which was arranged for the ANUG user group in cooperation with the goto conference. The talk happened to fit very well with the first topic I had planned for my series on Webmatrix Webpages, which is dataaccess. The talk was about not fearing dynamics, and some of the scenarios where it can provide some benefits over static types. Some of the scenarios Hadi talked about were DTO’s, ViewObjects and for DataAccess, which is exactly what WebMatrix WebPages utilizes.
The last thing I will compare in this round of Battle of the ORM’s is how NHibernate and the Entity Framework handle persistence. So first of all I want to vent one of my pet peeves, which is the myth of persistence ignorence. Persistence ignorence is a term used to describe a persistence mecanism that does not contaminate the domain […]
Gimme gimme gimme In the previous Battle of the ORM’s post I looked at setting up and configuring NHibernate and Entity Framework. So the next step is to get down to business and look at querying – the most important part of an ORM. First I need to address that the Entity Framework CTP5 has been released. This means that […]
Following up on my last post and on reading NHibernate 3.0 Cookbook I decided to download the latest NHibernate bits (v. 3 CR1), and do a comparison to Microsofts Entity Framework. NHibernate and Entity Framework are what most developers reguard as the top Object Relational Mappers out there. So looking at how they stack up is pretty important in order […]
A few weeks ago we got a copy of the NHibernate 3.0 Cookbook by Jason Dentler, which I was really looking forward to because of the scattered nature the existing documentation for NHibernate. The word Cookbook really says a lot of how the book is structured, and how it should be used. The book consists of a bunch of recipes on how to cook with NHibernate – terrible wordplay, I know, and I am sorry 🙂 So basically it can be a good idea with a quick readthrough, and then it will serve as a place to look up solutions to various scenarios you will be dealing with when using NHibernate.
… not sure myself, but certainly it is a sneaky creature. I will not talk about all ORMs (as if I could) since I want to exemplify on what gave me grief. I was using Linq2SQL to perform some “simple” queries in an application. I wish not to discuss: whether Linq2SQL is an ORM at all. For me it is […]