Getting started with NHibernate for SharePoint Part 1 – Introduction

Next post (Getting started) »

The following introduction on NHibernate can be found on Wikipedia

NHibernate is an object-relational mapping (ORM) solution for the Microsoft .NET platform: it provides a framework for mapping an object-oriented domain model to a traditional relational database. Its purpose is to relieve the developer from a significant portion of relational data persistence-related programming tasks.

Spot on.

What are the benefits of working with strongly typed data?

Strong typing is a communication tool for explicit statements of intent backed by the guard of compilation. Method signatures with strong typing tell you exactly what kind of input they expect and what kind of output they return.

  • Predictability with intellisense
  • Catch most mistakes at compile time
  • Testability with methods like unit testing
  • Unambiguous, guaranteed documentation

The quote say that NHibernate require a traditional relational database?

This is true, that’s why you will need an ADO.NET Connector to allow communication with SharePoint in a language that NHibernate can understand. Download the Camelot .NET Connector for SharePoint to get started!

Do I need to install all of this in SharePoint?

No, not unless you are building an application using NHibernate in SharePoint. This solution depends on the Camelot .NET Connector that can be placed on any Windows computer running .NET 2 or newer. This means you can use NHibernate to build external applications that interface towards SharePoint in anyway you like.

Next post (Getting started) »

This entry was posted in NHibernate for SharePoint, Tutorials and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>