https://github.com/usausa/npgsql-bulk-helper
BulkCopy helper for Npgsql.
https://github.com/usausa/npgsql-bulk-helper
bulk-copy bulk-loader bulkcopy bulkloader npgsql postgres postgresql
Last synced: 29 days ago
JSON representation
BulkCopy helper for Npgsql.
- Host: GitHub
- URL: https://github.com/usausa/npgsql-bulk-helper
- Owner: usausa
- License: mit
- Created: 2025-03-25T23:42:12.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2026-01-26T00:59:37.000Z (about 2 months ago)
- Last Synced: 2026-01-26T16:07:45.042Z (about 2 months ago)
- Topics: bulk-copy, bulk-loader, bulkcopy, bulkloader, npgsql, postgres, postgresql
- Language: C#
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NpgsqlBulkHelper
[](https://www.nuget.org/packages/NpgsqlBulkHelper)
```csharp
await using var con = new NpgsqlConnection(ConnectionString);
await con.OpenAsync();
var bulkCopy = new NpgsqlBulkCopy(con)
{
DestinationTableName = "data"
};
var inserted = await bulkCopy.WriteToServerAsync(source);
```