Getting started with ActiveRecord
Castle ActiveRecord is a powerful tool and allows you do many kinds of relations easily. Change the classes to match a change in the database schema is a breeze. It is an important tool for people doing agile development.
As Castle ActiveRecord is built on top of NHibernate, it is also important that you know how it works and always consult its documentation, especially when doing HQL queries.
This Getting started will focus on the construction of a Desktop application (using Winforms) that manages blogs and its posts. You will learn
- How to create ActiveRecord types
- How to configure and initialize ActiveRecord
- How to add methods to your classes to perform searches
You can also download the complete example:
InitializingAndConfiguring.zip (15,81k)
Proceed with Requirements.
Screenshots

