DAL

There are 2 entries for the tag DAL

SubSonic LoadFromPost method

While using SubSonic, i noticed ActiveRecord.LoadFromPost method, so i googled to see what this method does. It turns out that it loads object properties from form post by control names, i.e. it finds all the controls with the same name as the your ActiveRecord descendant object properties (column names) and initializes the object from them. I say it's great! Tags: SubSonic, DAL, .NET

SubSonic

Today i finally had time to test SubSonic - code generation tool for your DAL. I must say i was impressed how easy it was to set it up and how useful it proved to be. I was anti- code generation in the past, but it turned out that for quick/small projects this is indeed very handy. It creates all your objects based on your database, so you interact with data using object without dealing with SQL directly. If you haven't used any DAL frameworks, it's certainly worth a try. Tags: .NET, SubSonic, DAL