Tag: CastleProject

Writing the Domain Model classes: coding time (Castle MonoRail and ActiveRecord Tutorial - Part 5)

Posted by on September 13, 2007

This is the fifth post of a series started with this post about a MonoRail and ActiveRecord tutorial.

With this post we will finally start to write code for our MonoRail and ActiveRecord tutorial. Here we will go on writing the model classes, and from them we will autogenerate the database schema (alternatively you could first create the database schema and then generate the classes using the generator).

We need to write 5 classes for our 5 models (Album, AlbumGenre, Artist, Genre, Support). As we discussed the convention is to place them under the Models folder of our CastleProject solution.

So let’s create these 5 classes.

More…

Writing the Domain Model classes: implementing Relationships (Castle MonoRail and ActiveRecord Tutorial - Part 4)

Posted by on August 30, 2007

Writing the Domain Model classes: implementing Identifiers and Properties (Castle MonoRail and ActiveRecord Tutorial - Part 3)

Posted by on July 10, 2007

MonoRail and ActiveRecord configuration (Castle MonoRail and ActiveRecord Tutorial - Part 2)

Posted by on May 27, 2007

Castle MonoRail and ActiveRecord Tutorial (Part 1)

Posted by on May 22, 2007