This sample uses a ToDataReader method described here Creating a Generic List DataReader for SqlBulkCopy.
This can also be done using non-async methods.
public class Widget
{
public int WidgetId {get;set;}
public string Name {get;set;}
public int Quantity {get;set;}
}
public as...
This sample uses a ToDataReader method described here Creating a Generic List DataReader for SqlBulkCopy.
This can also be done using async methods.
public class Widget
{
public int WidgetId {get;set;}
public string Name {get;set;}
public int Quantity {get;set;}
}
public void A...