Get an IDataReader from a typed List
- by Jason Kealey
I have a List<MyObject> with a million elements. (It is actually a SubSonic Collection but it is not loaded from the database).
I'm currently using SqlBulkCopy as follows:
private string FastInsertCollection(string tableName, DataTable tableData)
{
string sqlConn =…