Archive for category Uncategorized
Using a Custom IDataReader to Stream Data Into a Database
Posted by Michael Bowersox (Admin) in Uncategorized on December 22, 2011
In a previous post, I discussed how to use the SqlBulkCopy class along with a SqlDataReader to quickly stream data from one database to another. The reason that you can use a SqlDataReader as a parameter in the WriteToServer method of SqlBulkCopy is because it implements the IDataReader interface. The great thing about this, is [...]