D
David Smith
Pretty straight forward question, right? I'm asking because this is one of
the recommendations I'm getting from VSTS code analysis.
My problem is that I have a pattern of code sprinkled throughout much of
my business layer where data access code calls static methods that, in turn,
call stored procedures that read the selected data into newly created DataTables
and return these tables. It might be difficult to track and dispose of all
these tables.
So, how leaky are undisposed of DataTables?
the recommendations I'm getting from VSTS code analysis.
My problem is that I have a pattern of code sprinkled throughout much of
my business layer where data access code calls static methods that, in turn,
call stored procedures that read the selected data into newly created DataTables
and return these tables. It might be difficult to track and dispose of all
these tables.
So, how leaky are undisposed of DataTables?