Release 1.7

Rating:        Based on 5 ratings
Reviewed:  2 reviews
Downloads: 660
Released: Oct 31, 2008
Updated: Oct 31, 2008 by rbates
Dev status: Stable Help Icon

Recommended Download

application, 867K, uploaded Oct 30, 2008 - 660 downloads

Release Notes

Release 1.7

  • Contains a number of fixes to the way the GenericObjectDatasource works, mainly to make error handling function correctly. If an error is thrown during an insert or update, the exception is now passed into the Updated or Inserted event of the GenericObjectDatasource, so that it can be handled by client code (see the Error Handling section of the main page for more details)
  • This release has also refactored the code, so that all the generic code is now kept in one assembly GenericDataLayer and the project specific stuff has been moved out into another assembly. This makes it easier to use this code in your projects without having to remove example code from the main project.
  • The GenericController class now has a DiscardDataContext method which removes the datacontext from whereever it is stored (Request or Thread) and disposes it. This can be used in the event of errors to get a new DataContext

Reviews for this release

it is for use one primarykey do not work on two primarykey
by mostafa1362 on Apr 8, 2009 at 11:50 AM
A very thin and light DAL that encourages RAD. If you use Linq To Sql this is a must have. Tali
by taliesins on Mar 20, 2009 at 3:31 PM