Enterprise Library - Data Block Changes

If you have not checked out the latest build of Ent Lib, you can get the Enterprise Library – June 2005 release here. The list of changes can be found here, as well. Borrowing from their master list, the list of changes to the Data Access Application Blocks are as follows:

  • The new method named GetStoredProcCommandWrapperWithSourceColumns is added to the Database class. This method provides creation of a stored procedure command wrapper whose parameter values come from source columns in a DataTable. In addition, new public methods provide access to the DbDataAdapter object for the current database connection.
  • The DataConnectionFailedEvent and DataConnectionOpenedEvent classes are updated to be thread safe.
  • The OracleCommandWrapper class is updated to perform proper conversion between parameters of types not recognized by Oracle and native Oracle types.
  • If you haven’t jumped into the Ent Lib yet, its worth a good look. The code is open so you can build on what you don’t like or leave it as is. You can also use some blocks and ignore others (as I do). I am looking forward to the next version (v 2.0). If you are too, check out Tom Hollander’s blog occasionally as well. He often has good posts on Ent Lib. If you are looking to jump in, you can take a look at Part 1 and Part 2 of my 3 part series on the Data Access Applicaiton Block online at MSDN Magazine.

    I’ve received a lot of good feedback on these articles with a lot of good questions and what if scenarios. Unfortunately, IU have not been able to keep up with the number of responses I have received so please don’t think I am ignoring you if I don’t get back right away. I do read all of my email and I appreciate all of your input, so please keep it coming and I will try to respond as much as I can.

Tweet Post Share Update RSS

Hi, I'm John Papa. I author this blog, create courses for Pluralsight and am a Google Developer Expert and Microsoft Regional Director. I travel speaking at events and train technology thought leaders