Skip to content

Instantly share code, notes, and snippets.

View DavidPx's full-sized avatar

David Peters DavidPx

  • Direct Supply
View GitHub Profile
@DavidPx
DavidPx / BulkInsertAll.cs
Last active January 15, 2020 16:39 — forked from jmreynolds/BulkInsertAll.cs
Use SQLBulkLoad with linq-toSQL in LinqPad - now with Property support.
// Add this to LinqPad "C# Program"
// Example use:
// Insead of this: (create a List<CS_POSITION>)
// CS_POSITIONs.InsertOnSubmit(position);
// This:
// positions.Add(position);
//
// Then instead of this:
// SubmitChanges()
// This: