My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

SNARF: Simple NHibernate ActiveRecord Framework

This is a C# .NET class library and set of Codesmith templates for generating code using the ActiveRecord pattern. It uses NHibernate for the underlying persistence in a fashion similar to Castle ActiveRecord. However, it differs in that the database generates the classes as well as xml mappings and does not use attributes. It does make some assumptions about your database schema.

Its been used in production, but has only been tested with Sql Server 2000 and 2005.

Snarf is good for small-medium size projects because we feel thats also what the ActiveRecord pattern is good for. However, should you need to switch to something heavier (DataMapper/Repository) you have the full power of NHibernate at your disposal.

Powered by Google Project Hosting