By Joe Brinkman on
1/1/2008 5:03 PM
I have been a fan of
Rob Connery's work on
SubSonic for a while now. As readers of my blog know, I have also been exploring PowerShell quite a bit lately as well. Recently, I had a need to update a
DotNetNuke module to PowerShell 2.0.3. Unfortunately, some of the APIs had changed between SubSonic 1.x and 2.x. Because of the desire to keep the module Medium Trust compatible I don't use the build-provider and instead pre-generate my DAL.
In the past I had used the sample web app to generate the classes for just those tables needed for my module. In this iteration, I decided to go the SubCommander route and generate the needed classes from the command-line. The SubSonic web-site has a
batch file...