DbDataReader.Dispose Method ()
Releases all resources used by the current instance of the DbDataReader class.
Assembly: System.Data (in System.Data.dll)
Call Dispose when you are finished using the DbDataReader. The Dispose method leaves the DbDataReader in an unusable state. After calling Dispose, you must release all references to the DbDataReader so the garbage collector can reclaim the memory that the DbDataReader was occupying.
Available since 10
Available since 2.0