Implementing Peer Code Reviewing

At my daytime job we are in the process of implementing a peer code reviewing process. These are the sites I used as guidelines and the process we ended up using. Of course, as always the process will need evaluation and tweaking.

Continue reading

Advertisements

NHibernate Part 2: CRUD with NHibernate

The Code

Updated code available for NHibernate 2.0.1.GA here.
The toolingset used is Visual Studio 2008 and Sql Server 2008

In the previous installment in this series of articles about NHibernate I explained a simple Hello World application which uses NHibernate to read messages from a database.

In this article we will learn how to perform basic CRUD operations. The CRUD acronym stants for the 4 operations which can be performed on data stored on a medium:

  1. Create
  2. Read
  3. Update
  4. Delete

We will continue to work with the database created in Part 1. All sample output also assumes you have excercised Part 1. Continue reading