Copies all rows in the supplied IEnumerable to a destination table specified by the DestinationTableName property of the SqlBulkCopy object.
Use other constructor for IEnumerable<>
C# |
---|
public void WriteToServer (
IEnumerable collection,
Type elementType
) |