Franz.Common.EntityFramework.MariaDB
3.0.0
dotnet add package Franz.Common.EntityFramework.MariaDB --version 3.0.0
NuGet\Install-Package Franz.Common.EntityFramework.MariaDB -Version 3.0.0
<PackageReference Include="Franz.Common.EntityFramework.MariaDB" Version="3.0.0" />
<PackageVersion Include="Franz.Common.EntityFramework.MariaDB" Version="3.0.0" />
<PackageReference Include="Franz.Common.EntityFramework.MariaDB" />
paket add Franz.Common.EntityFramework.MariaDB --version 3.0.0
#r "nuget: Franz.Common.EntityFramework.MariaDB, 3.0.0"
#:package Franz.Common.EntityFramework.MariaDB@3.0.0
#addin nuget:?package=Franz.Common.EntityFramework.MariaDB&version=3.0.0
#tool nuget:?package=Franz.Common.EntityFramework.MariaDB&version=3.0.0
Franz.Common.EntityFramework.MariaDB
MariaDB EF Core provider registration for Franz
DbContextBasecontexts.
Overview
This adapter uses the Microting MariaDB EF Core provider and the shared Franz DatabaseOptions/database-target resolution contract.
Installation
dotnet add package Franz.Common.EntityFramework.MariaDB
Registration
using Franz.Common.EntityFramework.MariaDB.Extensions;
builder.Services.AddMariaDatabase<ApplicationDbContext>(builder.Configuration);
The extension binds the Database configuration section through AddDatabaseOptions, resolves the effective database name using the configured Database:IsolationMode, configures the MariaDB EF provider, and registers the concrete context as DbContextBase.
The provider version is configured in the adapter for MariaDB 11.4. Deploy against a compatible server version. Do not copy examples for Pomelo's MariaDbServerVersion; this package uses the Microting provider's ServerVersion.Create(..., ServerType.MariaDb) API.
Configuration
{
"Database": {
"ServerName": "localhost",
"DatabaseName": "application",
"UserName": "application",
"Password": "<secret>",
"Port": 3306,
"SslMode": "None",
"IsolationMode": "SharedDatabase",
"EnableSensitiveDataLogging": false
}
}
The adapter has development-oriented fallbacks including root/password and the library database name. Explicitly configure every connection field in deployed environments; never rely on those defaults. Use a secret store for credentials and keep sensitive-data logging disabled in production unless a reviewed diagnostic requirement justifies enabling it.
Multi-tenancy
The adapter uses the shared DatabaseTargetResolver. TenantDatabase and DomainDatabase require the corresponding validated execution context; missing context fails closed. The derived DbContext must forward ITenantExecutionContextAccessor and the database/multi-tenancy options to DbContextBase when those policies are enabled.
License
MIT. See the repository LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Franz.Common.EntityFramework (>= 3.0.0)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.14)
- Microting.EntityFrameworkCore.MySql (>= 10.0.13)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Franz.Common.EntityFramework.MariaDB:
| Package | Downloads |
|---|---|
|
Franz.Common.Messaging.EntityFramework
Shared utility library for the Franz Framework. |
|
|
Franz.Common.Http.EntityFramework
Shared utility library for the Franz Framework. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0 | 52 | 11/10/2026 |
| 2.3.4 | 361 | 11/1/2026 |
| 2.3.3 | 326 | 10/28/2026 |
| 2.3.2 | 121 | 10/27/2026 |
| 2.3.1 | 175 | 10/26/2026 |
| 2.3.0 | 243 | 7/21/2026 |
| 2.2.19 | 156 | 7/19/2026 |
| 2.2.18 | 151 | 7/19/2026 |
| 2.2.17 | 250 | 7/12/2026 |
| 2.2.16 | 150 | 7/2/2026 |
| 2.2.15 | 169 | 6/29/2026 |
| 2.2.14 | 156 | 6/29/2026 |
| 2.2.13 | 160 | 6/29/2026 |
| 2.2.12 | 153 | 6/28/2026 |
| 2.2.11 | 150 | 6/28/2026 |
| 2.2.10 | 153 | 6/28/2026 |
| 2.2.9 | 152 | 6/28/2026 |
| 2.2.8 | 149 | 6/28/2026 |
| 2.2.7 | 158 | 6/7/2026 |
| 2.2.6 | 166 | 6/6/2026 |