Installation
Install a Provider Package
Pick the package for your database and add it with the .NET CLI. Each provider package automatically includes Weasel.Core, so there is no need to install it separately.
PostgreSQL:
bash
dotnet add package Weasel.PostgresqlSQL Server:
bash
dotnet add package Weasel.SqlServerOracle:
bash
dotnet add package Weasel.OracleMySQL:
bash
dotnet add package Weasel.MySqlSQLite:
bash
dotnet add package Weasel.SqliteEF Core Integration:
bash
dotnet add package Weasel.EntityFrameworkCoreSupported .NET Versions
Weasel targets .NET 8.0, .NET 9.0, and .NET 10.0.
Driver Dependencies
Each provider package brings in the appropriate ADO.NET driver as a transitive dependency:
| Package | Driver |
|---|---|
Weasel.Postgresql | Npgsql |
Weasel.SqlServer | Microsoft.Data.SqlClient |
Weasel.Oracle | Oracle.ManagedDataAccess.Core |
Weasel.MySql | MySqlConnector |
Weasel.Sqlite | Microsoft.Data.Sqlite |
You do not need to install these drivers separately unless you need a specific version.
