CSharpDB.ImportExport
4.2.0
Prefix Reserved
See the version list below for details.
dotnet add package CSharpDB.ImportExport --version 4.2.0
NuGet\Install-Package CSharpDB.ImportExport -Version 4.2.0
<PackageReference Include="CSharpDB.ImportExport" Version="4.2.0" />
<PackageVersion Include="CSharpDB.ImportExport" Version="4.2.0" />
<PackageReference Include="CSharpDB.ImportExport" />
paket add CSharpDB.ImportExport --version 4.2.0
#r "nuget: CSharpDB.ImportExport, 4.2.0"
#:package CSharpDB.ImportExport@4.2.0
#addin nuget:?package=CSharpDB.ImportExport&version=4.2.0
#tool nuget:?package=CSharpDB.ImportExport&version=4.2.0
CSharpDB.ImportExport
Native table archive import/export support for CSharpDB.
CSharpDB.ImportExport provides the shared table archive format used by the
execution engine, client API, admin import/export tools, and DevOps comparison
features. It is a low-level package for tools that need to read or write
CSharpDB table archives directly.
Features
- native CSharpDB table archive reader and writer
- schema and manifest metadata models
- row streaming through
IAsyncEnumerable<DbValue[]> - primary-key index metadata and indexed integer primary-key lookup
- conversion between archive schema models and
CSharpDB.Primitives.TableSchema
Reading Archives
using CSharpDB.ImportExport.TableArchives;
var metadata = await TableArchiveReader.ReadMetadataAsync("customers.cdbtable");
Console.WriteLine($"{metadata.Manifest.SourceTableName}: {metadata.Manifest.RowCount} rows");
await foreach (var row in TableArchiveReader.ReadRowsAsync("customers.cdbtable"))
{
Console.WriteLine(row[0]);
}
Writing Archives
using CSharpDB.ImportExport.TableArchives;
using CSharpDB.Primitives;
TableSchema schema = new()
{
TableName = "customers",
Columns =
[
new ColumnDefinition { Name = "id", Type = DbType.Integer, IsPrimaryKey = true },
new ColumnDefinition { Name = "name", Type = DbType.Text },
],
};
DbValue[][] rows =
[
[DbValue.Integer(1), DbValue.Text("Ada")],
[DbValue.Integer(2), DbValue.Text("Grace")],
];
await TableArchiveWriter.WriteAsync(
"customers.cdbtable",
schema,
TableArchiveWriter.ToAsyncRows(rows));
Dependencies
CSharpDB.Primitives- shared type system and schema contractsCSharpDB.Storage- record serialization used by native table archives
Related Packages
| Package | Description |
|---|---|
| CSharpDB.Execution | Query planner and operators that consume archive readers for external tables |
| CSharpDB.Client | Public client API that exposes table archive import/export workflows |
| CSharpDB | Recommended all-in-one package |
License
MIT - see LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- CSharpDB.Primitives (>= 4.2.0)
- CSharpDB.Storage (>= 4.2.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on CSharpDB.ImportExport:
| Package | Downloads |
|---|---|
|
CSharpDB.Execution
Query planner, operator tree, and expression evaluator for the CSharpDB embedded database. |
|
|
CSharpDB.Client
Unified CSharpDB client SDK with Direct, HTTP and gRPC transports. |
|
|
CSharpDB.DevOps
Database DevOps compare and deploy services for CSharpDB. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0 | 160 | 11/19/2026 |
| 4.7.1 | 225 | 11/8/2026 |
| 4.7.0 | 276 | 10/28/2026 |
| 4.6.6 | 246 | 10/12/2026 |
| 4.6.5 | 221 | 9/28/2026 |
| 4.6.4 | 274 | 9/12/2026 |
| 4.6.3 | 207 | 9/5/2026 |
| 4.6.2 | 238 | 8/14/2026 |
| 4.5.1 | 211 | 8/10/2026 |
| 4.4.0 | 209 | 8/5/2026 |
| 4.3.0 | 214 | 7/27/2026 |
| 4.2.0 | 211 | 7/21/2026 |
| 4.1.0 | 203 | 7/18/2026 |
| 4.0.4 | 201 | 7/17/2026 |
| 4.0.3 | 200 | 7/15/2026 |
| 4.0.2 | 214 | 7/9/2026 |
| 4.0.1 | 213 | 7/5/2026 |
| 4.0.0 | 212 | 6/25/2026 |
| 3.9.1 | 228 | 6/11/2026 |