ActiveRecord (Castle)

From Wikipedia, the free encyclopedia

ActiveRecord is an implementation of the Active Record pattern for the Microsoft .NET framework. It basically represents a row in the database with an ActiveRecord instance, and the static methods act on all rows. It is free, open source software that is distributed under the Apache 2.0 License. ActiveRecord is part of the Castle Project.

ActiveRecord uses NHibernate, but you don't need to write any fancy XML mapping as it handles everything for you. You just need to decorate your classes with attributes to declare behavior and meaning. You even don't need to express everything. ActiveRecord tries to infer as much as it can.

[edit] External links