StructureMap.DataAccess

I forgot to mention it, but there is a new component being shipped with StructureMap called StructureMap.DataAccess.  It's just a little helper component that wraps common ADO.Net manipulation I use when I need traditional DAL functionality (think opening and closing connections, try/catch, better exception messages, transaction management, etc.).  I finally combined it into StructureMap under the Apache 2.0 license mostly because I wanted to use it across projects, mostly to write test automation harnesses and other little utilities.  Life is simply too short to waste human being time on ADO.Net manipulation.

Feel free to use it, steal code from it, or just plain laugh at it.  Be aware that it's optimized for ease of use, not performance. 

Part of the value of OSS is that you can read the code and under a permissive license, lift out that code to use somewhere else.  I've done it with NUnit & NAnt, so I certainly don't mind if anyone tinkers with StructureMap or StoryTeller.

Right now it only supports MSSQL because that's all I've been using the last couple of years.  I had an Oracle version a rewrite or two ago that I'll probably add back in soon for my current project. 

I'm thinking about harnessing some FitNesse fixture classes from a past project for setting up and executing data intensive FIT tests that used DataAccess and releasing those fistures as part of StoryTeller, again so I can reuse that stuff across projects.

StructureMap was originally intended to be an O/R mapping and data access tool, and StructureMap.DataAccess is all that's left of that original pipe dream.

About Jeremy Miller

Jeremy is the Chief Software Architect at Dovetail Software, the coolest ISV in Austin. Jeremy began his IT career writing "Shadow IT" applications to automate his engineering documentation, then wandered into software development because it looked like more fun. Jeremy is the author of the open source StructureMap tool for Dependency Injection with .Net, StoryTeller for supercharged acceptance testing in .Net, and one of the principal developers behind FubuMVC. Jeremy's thoughts on all things software can be found at The Shade Tree Developer at http://codebetter.com/jeremymiller.
This entry was posted in StoryTeller, StructureMap. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • http://codebetter.com/blogs/jeremy.miller jmiller

    Thanks for that, I haven’t reused code from NAnt, only used it as a reference. NAnt’s a bit tricky because it’s GPL but has special dispensations for reuse and redistribution.

  • http://www.ayende.com/Blog Ayende Rahien

    Just to point out, you are aware that NAnt is GPLed, right?
    That is not permissive by my definition.