What is it?

Lightning Bug is a collection of flashy but short-lived bits of code for common tasks.

LightningBug.Data

  • Extensions to SqlBulkCopy for bulk updates.
  • An implementation of IDataReader from an IEnumerable<T> data source, suitable for use with SqlBulkCopy.
  • Extensions to convert between objects, DataRows, and DataTables
  • Extensions to generate SQL tables from the schema of DataTables

LightningBug.Reflection

  • Cached delegates for property getters and setters