SRT Solutions

Blogs

Browse by Tags

  • ActiveRecord: Never forget there's a database

    Some lessons learned while using ActiveRecord . I really like ActiveRecord and I would recommend using it on .NET projects when there is the need an OR Mapping tool. The fault lay was us, the developers. We didn't pay enough attention to the fact that there was a database at the end of the calls...
    Posted to Patrick Steele (Weblog) by Anonymous on Thu, Nov 6 2008
  • Generate ActiveRecord Classes from Existing DB Schema

    GeneratorStudio is a project on CodePlex used to automate the creation of Castle ActiveRecord classes from existing database schema. I haven't downloaded it yet to play around with it, but it looks like it would be a nice thing to have if you have a large (or even medium) schema that's already...
    Posted to Patrick Steele (Weblog) by Anonymous on Fri, Oct 31 2008
  • Mock Databases and ActiveRecord

    Fellow SRT employee Jay Harris has a great post on using SQLite's in-memory database feature to mock his database .  He points out a few of the factors that drove him to investigate such an approach: I did not want a SQL Server installation to be a requirement for me, the other developers, and...
    Posted to Patrick Steele (Weblog) by Anonymous on Thu, Oct 30 2008
  • ActiveRecord and a Custom NHibernate PrimitiveType

    I was intrigued by Steve Smith 's blog post yesterday about reducing SQL Lookup tables in nHibernate . He gave an example of a WorkOrderStatus class the exposed the actual status as a POCO object that wasn't stored in the database. What really piqued my interest was the following comment: NHibernate...
    Posted to Patrick Steele (Weblog) by Anonymous on Tue, Oct 7 2008
  • ActiveRecord + HQL and an "IN" clause

    Late last year as I was using MonoRail and ActiveRecord for a simple web application. I was helping my local church find volunteers with various skills to teach some basic computer courses to the the church staff. I wanted to keep track of the volunteers along with the skills they had. I used this as...
    Posted to Patrick Steele (Weblog) by Anonymous on Wed, Oct 1 2008

In our last colurm, we wrote about how technical mentors can benefit companies ( Ann Arbor Business Review, May 22, 2008 ). In this installment, we're...