feat(DbExporter): create project structure and definition model

Add DbExporter tool project with:
- Project file targeting .NET 10 with required packages
  (protobuf-net-data, ZstdSharp.Port, Microsoft.Data.SqlClient,
  Oracle.ManagedDataAccess.Core)
- ExportDefinition model for JSON-based export configuration
- Placeholder Program.cs entry point
This commit is contained in:
Joseph Doherty
2026-01-06 16:49:59 -05:00
parent 6a8250ef60
commit b497f018dd
3 changed files with 47 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
using System.Text.Json.Serialization;
namespace DbExporter;
public sealed class ExportDefinition
{
[JsonPropertyName("providerType")]
public required string ProviderType { get; init; }
[JsonPropertyName("connectionString")]
public required string ConnectionString { get; init; }
[JsonPropertyName("query")]
public required string Query { get; init; }
[JsonPropertyName("outputPath")]
public required string OutputPath { get; init; }
[JsonPropertyName("compressionLevel")]
public int CompressionLevel { get; init; } = 10;
}