SQLServerSchemaExtractor 1.0.0
See the version list below for details.
dotnet add package SQLServerSchemaExtractor --version 1.0.0
NuGet\Install-Package SQLServerSchemaExtractor -Version 1.0.0
<PackageReference Include="SQLServerSchemaExtractor" Version="1.0.0" />
<PackageVersion Include="SQLServerSchemaExtractor" Version="1.0.0" />
<PackageReference Include="SQLServerSchemaExtractor" />
paket add SQLServerSchemaExtractor --version 1.0.0
#r "nuget: SQLServerSchemaExtractor, 1.0.0"
#:package SQLServerSchemaExtractor@1.0.0
#addin nuget:?package=SQLServerSchemaExtractor&version=1.0.0
#tool nuget:?package=SQLServerSchemaExtractor&version=1.0.0
SQL Server Schema Extractor
A .NET tool for extracting SQL Server database schemas and serializing them to JSON or YAML. Designed for reverse engineering, documentation, and seamless integration with natural language to SQL (NL2SQL) systems powered by large language models (LLMs).
Features
- Extracts schema from SQL Server databases.
- Outputs schema in JSON or YAML format.
- Configurable via
appsettings.json.
Usage
Configure Connection and Schema
Edit
appsettings.json(orappsettings.Local.json) to set your database connection and schema extraction options:"DatabaseConnection": "your-connection-string-here", "Nl2SqlConfig": { "database": { "description": "Your database description", "schemas": [ { "name": "SchemaName", "tables": [ "Table1", "Table2" ] } ] } }Run the Extractor
Build and run the
SqlSchemaProviderHarnessTesterproject: dotnet run --project SqlSchemaProviderHarnessTesterThe tool will connect to your database, extract the schema, and print the result as JSON.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- Microsoft.Data.SqlClient (>= 6.0.2)
- System.Linq.Async (>= 6.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.