Castle ActiveRecord

There are 2 entries for the tag Castle ActiveRecord
WhoDaBest - Post 4 - ActiveRecord Revised

Previously in this series: WhoDaBest - Post 1, WhoDaBest - Post 2, WhoDaBest - Post 3 OK, so I've already realized there is a problem with my base repository class.  I was getting ready to create my first domain entity, which will be a "Role" class, and it's associated concrete repository and I realized that with the way it is set up, if I just extend the base repository, there is no way of doing any kind of unit tests without putting together some kind of test database and this just won't do.  I don't want the overhead, especially since I don't...

posted @ Friday, January 11, 2008 9:27 PM | Feedback (0)

WhoDaBest - Post 3 - ActiveRecord

Previously in this series: WhoDaBest - Post 1 WhoDaBest - Post 2 So I've made a couple of decisions.  The first is that I'm going with tools from CastleProject.org for my object-relational mapping (ORM) and for my inversion of control (IOC).  I'll talk about IOC later, but first I want to focus on ORM.  Castle's ActiveRecord is open source and sits on top of NHibernate.  I've used NHib by itself, and it's a great tool, but there are a number of nice little features that Castle ActiveRecord gives you that I like a lot, such as transaction management, mapping attributes (so no hibernate mapping xml files),...

posted @ Friday, January 11, 2008 2:03 PM | Feedback (0)