SqlBulkCopy.WriteToServer Method (DbDataReader)
.NET Framework (current version)
Copies all rows from the supplied DbDataReader array to a destination table specified by the DestinationTableName property of the SqlBulkCopy object.
Assembly: System.Data (in System.Data.dll)
Parameters
- reader
-
Type:
System.Data.Common.DbDataReader
A DbDataReader whose rows will be copied to the destination table.
.NET Framework
Available since 4.6
Available since 4.6
Show: