In addition to generating your Data Access Layer for you, SubSonic comes with some other goodies that make building web applications easier. I was suprised to find that some of these controls work directly against the database schema and do not require the Data Access Layer to be pre generated at all..
SubSonic has a number of web controls that you can use if you follow the standard naming conventions that are recommended. This is one of the Ruby on Rails, mantras, convention over configuration.
The Controls
Scaffold , QuickTable, DropDown, and Many to Many Control
In addition to theses controls, there is dedicated webpage called the auto scaffold. This web page uses the subsonic data provider to allow any table that has generated code to be edited. This page needed a few changes for the post back urls to work, but I changed the page into a module by changing the inherits from a webpage into a dotnetnuke.entities.modules.portalmodulebase.
I found out something very interesting – The autoscaffold code works without a pre-generated data access layer. So this code works with simply installing subsonic and configuring a data provider. The same goes for the scaffold controls which is pretty cool!
Running SubSonic without changing Web Config
This module supports a piece of code that wires up the SubSonic data provider at runtime. So no config changes are required. Just install this module and you will have full edit capabilities to your tables. But please be careful, most of the DNN system tables should not be updated. I would suggest using a separate database if possible for your files using this module. Download it here.