1

Closed

Object creating and disposing

description

Your generator is very nice. Made exactly for doing the thing I did by hand last time (very boring and time consuming and useless, of course).
There was only one big difference. You create (and destroy) Dal object and also DataAccess object for each query. Using static Dal object (I mean created once as a static Bll object attribute) and the same for DataAccess (can be completly static class with only static methods) would be much better. SqlCommands and SqlParameters should be dealt with locally in Dal otherwise synchronization is necessary.
I started rewriting the DataAccess (attached) but I don't know the code very well.

file attachments

Closed Feb 3, 2008 at 11:36 PM by ld9474
As this is not an issue, I close it. Instead i created a thread in the discussions pane.

comments