---
title: "Stuff to know about the Data Application Block"
url: "https://osherove.com/blog/2004/2/18/stuff-to-know-about-the-data-application-block.md"
canonical: "https://osherove.com/blog/2004/2/18/stuff-to-know-about-the-data-application-block.html"
published: "2004-02-18T05:55:00"
updated: "2004-02-18T05:55:00"
tags: [".Net Original"]
author: "Roy Osherove"
description: "Version 3.0 has been out for a while . Version 3 of this block is out there, kicking some serious butt. This version has unit tests to go along with it and it fixes a bug that was found in version 2. Get version 3 from…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Stuff to know about the Data Application Block

By Roy Osherove February 18, 2004 In [.Net Original](https://osherove.com/blog/category/net-original)

**Historical article** · Originally published February 18, 2004; technical details may be outdated.

- **Version 3.0 has been out for a while**.

    Version 3 of this block is out there, kicking some serious butt. This version has unit tests to go along with it and it fixes a bug that was found in version 2. [Get version 3](http://www.gotdotnet.com/community/workspaces/newsitem.aspx?id=c20d12b0-af52-402b-9b7c-aaeb21d1f431&newsId=1304) from here.  Find out [about the bug here](http://www.dotnetjunkies.com/weblog/markbrown/posts/454.aspx).

- The new version adds support for some generic ADO.Net interfaces. This means you can use it with different DB providers while utilizing the same interface.

- **It's almost always OK to discover stored procedure parameters automatically**. Underneath, the parameter discovery happens only once per stored procedure, and is then saved in a parameter cache object for future calls to that sproc. A single extra call for the added simplicity of coding against the block and saving many many lines of code filling parameter arrays.
- **If you're using version 2.0,** [**it has a bug**](http://www.dotnetjunkies.com/weblog/markbrown/posts/454.aspx)**.**

## More in .Net Original

[All posts in .Net Original](https://osherove.com/blog/category/net-original)

- Feb 19, 2004

    ### [Mortal sin: A non-relational relational database.](https://osherove.com/blog/2004/2/19/mortal-sin-a-non-relational-relational-database.html)

- Feb 19, 2004

    ### [Get your resource kit (and disregard the kit name)](https://osherove.com/blog/2004/2/19/get-your-resource-kit-and-disregard-the-kit-name.html)

- Feb 17, 2004

    ### [SQL relations considered harmful?](https://osherove.com/blog/2004/2/17/sql-relations-considered-harmful.html)

- Feb 17, 2004

    ### [\[Article\] Make your .Net application support scripting - the practical way](https://osherove.com/blog/2004/2/17/article-make-your-net-application-support-scripting-the-prac.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
