Hi All,
I've got a very quick and dirty solution for dealing with database errors in ASP.Net pages. The idea is to start a transaction when the requests starts and then add every LLBLGen entity/action to it until the rendering starts (no more db action after that) and commit it. This way if I would have any errors during the page request al actions, which might depend on each other or update multiple entities, would be undone.
Since each request is a specific action this felt like a starting point, but also like "cowboy programming". Has anyone one decided to do this before, and done actually done this, or can tell my this is such a bad idea (as it feels that way)
thanks,
Gab