Find file
6ad46de Jun 4, 2015
60 lines (48 sloc) 3.62 KB

Castle ActiveRecord Documentation

The Castle ActiveRecord project is an implementation of the ActiveRecord pattern for .NET. The ActiveRecord pattern consists on instance properties representing a record in the database, instance methods acting on that specific record and static methods acting on all records.

Castle ActiveRecord is built on top of NHibernate, but its attribute-based mapping frees the developer of writing XML for database-to-object mapping, which is needed when using NHibernate directly.

⚠️ Warning: Although ActiveRecord makes using NHibernate easy it does not hide all details of NHibernate behaviour. You need to understand NHibernate flushing behaviour and how to work with text/ntext columns.

Reference Manual

User's Guide

Advanced Usage