To begin using DbSyncKit for your database synchronization needs, follow the steps outlined below. This guide covers the necessary installations and basic setup to get you started quickly.
1. Installation
DbSyncKit consists of several packages tailored to different aspects of database synchronization. Ensure you install the following packages based on your requirements:
Core Packages
Database-Specific Packages
Choose the appropriate package based on the database system you are working with:
- For Microsoft SQL Server: DbSyncKit.MSSQL
- For MySQL: DbSyncKit.MySQL
- For PostgreSQL: DbSyncKit.PostgreSQL
- For SQLite: DbSyncKit.SQLite
Templating Packages
Enhance your synchronization workflows with the Templating feature. Install the Templating package along with database-specific Templating implementations:
- DbSyncKit.Templates
- For Microsoft SQL Server: DbSyncKit.Templates.MSSQL
- For MySQL: DbSyncKit.Templates.MySQL
- For PostgreSQL: DbSyncKit.Templates.PostgreSQL
- For SQLite: DbSyncKit.Templates.SQLite
Install these packages using your preferred package manager. For example, using NuGet:
dotnet add package DbSyncKit.Core
dotnet add package DbSyncKit.DB
dotnet add package DbSyncKit.MSSQL
dotnet add package DbSyncKit.MySQL
dotnet add package DbSyncKit.PostgreSQL
dotnet add package DbSyncKit.SQLite
dotnet add package DbSyncKit.Templates
dotnet add package DbSyncKit.Templates.MSSQL
dotnet add package DbSyncKit.Templates.MySQL
dotnet add package DbSyncKit.Templates.PostgreSQL
dotnet add package DbSyncKit.Templates.SQLite
Ensure your project is configured to use these packages.
2. Setup
Once you have installed the required packages, proceed with the initial setup. Configure DbSyncKit according to your synchronization needs by referring to the Configuration Guide.
3. Usage Guide
Explore the Usage Guide for detailed information on utilizing DbSyncKit for various synchronization tasks. This guide covers topics such as basic synchronization, entity configuration, attribute configuration, and more.
Ready to dive in? Start by installing the necessary packages and configuring DbSyncKit for your project!