G
Guest
I have Class A that implements IDisposable, within this class i have method A that creates a new Sqlconnection object and execute some stored proc, in Class B, I create an instance of Class A object with the using statement..
my question is when my using statement ends Class A's dipose method should be called i think.. but will my Sqlconnection object within Class A Method A be disposed automatically as well?
my question is when my using statement ends Class A's dipose method should be called i think.. but will my Sqlconnection object within Class A Method A be disposed automatically as well?