B2A.DbTula.Core
1.1.3
dotnet add package B2A.DbTula.Core --version 1.1.3
NuGet\Install-Package B2A.DbTula.Core -Version 1.1.3
<PackageReference Include="B2A.DbTula.Core" Version="1.1.3" />
<PackageVersion Include="B2A.DbTula.Core" Version="1.1.3" />
<PackageReference Include="B2A.DbTula.Core" />
paket add B2A.DbTula.Core --version 1.1.3
#r "nuget: B2A.DbTula.Core, 1.1.3"
#:package B2A.DbTula.Core@1.1.3
#addin nuget:?package=B2A.DbTula.Core&version=1.1.3
#tool nuget:?package=B2A.DbTula.Core&version=1.1.3
🟢 B2A.DbTula.Core
Overview
DBTula Core is the abstraction layer and shared API for the DBTula database schema comparison toolkit.
It provides models, contracts, and the comparison engine logic, and is agnostic of any specific database provider.
- Extensible, testable, and cleanly separated architecture.
- No direct database dependencies—just logic, types, and interfaces.
- Use with B2A.DbTula.Infrastructure.MySql or B2A.DbTula.Infrastructure.Postgres for provider-specific comparison.
🚀 Installation
Install via NuGet:
dotnet add package B2A.DbTula.Core
Add the provider(s) you need:
dotnet add package B2A.DbTula.Infrastructure.Postgres
dotnet add package B2A.DbTula.Infrastructure.MySql
✨ Features
- Schema Comparison Engine:
Programmatic access to database schema comparison logic. - Extensible Provider Model:
Plug in additional infrastructure packages for other databases. - Domain Models:
Rich object model for tables, columns, keys, indexes, and more. - Reporting API:
Generate results and scripts for diffs and synchronization.
🧑💻 Usage Example
using B2A.DbTula.Core;
// using B2A.DbTula.Infrastructure.Postgres; // Or MySql
// Example usage (pseudo-code):
var comparer = new PostgresSchemaComparer();
var result = comparer.CompareSchemas(sourceConnectionString, targetConnectionString);
if (result.HasDifferences)
{
Console.WriteLine("Schemas are different!");
// Process differences or generate scripts
}
For real usage, see the infrastructure package documentation or CLI for full examples.
📚 Documentation
Full documentation, advanced examples, and API reference available at
GitHub Repository.
Related Packages
- B2A.DbTula.Infrastructure.MySql — MySQL support
- B2A.DbTula.Infrastructure.Postgres — PostgreSQL support
- B2A.DbTula.Cli — CLI Tool
License
MIT License
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
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on B2A.DbTula.Core:
Package | Downloads |
---|---|
B2A.DbTula.Infrastructure.Postgres
PostgreSQL infrastructure provider for DBTula schema comparison engine. |
|
B2A.DbTula.Infrastructure.MySql
MySQL infrastructure provider for DBTula schema comparison engine. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.1.3 | 146 | 7/15/2025 |