Always remain updated about current software development trends

Articles having tag: NHIBERNATE

Populating a business logical layer from stored procedures

A brief look at a technique mapping tables to a basic business layer.

Book review: Working with NHibernate 3.0

It's been a while since I wrote my last book review, mostly because I'm still trying to figure out when it adds value to write one. For this one it was pretty obvious, there are far too little reviews out there. Being new to NHibernate, and NHibernate being...

NHibernate Metadata

I know that O/RMs like NHibernate are supposed to shield us from the gory database internals such as tables, views, columns and such; however, at times, I do have the need to know how my domain model translates to the database. NHibernate, of course, provides...

Querying an Uninitialized Collection with NHibernate

I have talked before about theproblemof accessing an uninitialized collection and presented asolutionthat allows us to see if the collection contains elements on the DB, and how many there are, without actually loading them. Now I have a general purpose solution...

Comparing Transparent Lazy Loading between NHibernate and Entity Framework

In this article, I will explain what transparent lazy loading is and how it's implemented in NHibernate and Entity Framework.

NHibernate Pitfalls: SQL Queries and Parameter Prefix

This is part of a series of posts about NHibernate Pitfalls. See the entire collectionhere.When you execute an SQL query with NHibernate with named parameters, you would perhaps expect them to be prefixed with a symbol specific to the current DB you are accessing,...

MSSQL & NHibernate – mapping week numbers to properties

In one of my applications I have to use week numbers as properties of business classes that are persisted to database using NHibernate. Week numbers are used in UI and users can filter and sort data by week numbers. In this posting I will show you how to make...