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
+17
View File
@@ -0,0 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="protobuf-net-data" Version="4.1.0" />
<PackageReference Include="ZstdSharp.Port" Version="0.8.1" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.2" />
<PackageReference Include="Oracle.ManagedDataAccess.Core" Version="23.7.0" />
</ItemGroup>
</Project>
+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;
}
+9
View File
@@ -0,0 +1,9 @@
namespace DbExporter;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("DbExporter - Database Export Tool");
}
}