-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
SimpleSqlBulkCopy | ||
================= | ||
|
||
Lets you efficiently bulk load a SQL Server table with data from another source by using System.Data.SqlClient.SqlBulkCopy in a more friendly way | ||
Lets you efficiently bulk load a SQL Server table with data from a Typed List. This uses System.Data.SqlClient.SqlBulkCopy and just wraps it for a more developer-friendly interface | ||
|
||
Usage | ||
----- | ||
``` | ||
using (var ssbc = new SimpleSqlBulkCopy("ConnectionString")) | ||
{ | ||
ssbc.WriteToServer("TableName", IEnumerable<T>); | ||
} | ||
``` | ||
where T is an object of the same Properties (and Type of the Database) |