Possible Duplicate:
Close and Dispose - which to call?
Many of the functions in my data layer are not protected by try-catch
or using
clauses.
My GUI layer has try-catch
clauses. Will this be enough?
Can I rely on the dbConnection
and other objects being disposed and closed if an exception is raised? The GUI layer will handle the exceptions.