Zymergi.Data.MariaDb
11.1.0-alpha
dotnet add package Zymergi.Data.MariaDb --version 11.1.0-alpha
NuGet\Install-Package Zymergi.Data.MariaDb -Version 11.1.0-alpha
<PackageReference Include="Zymergi.Data.MariaDb" Version="11.1.0-alpha" />
<PackageVersion Include="Zymergi.Data.MariaDb" Version="11.1.0-alpha" />
<PackageReference Include="Zymergi.Data.MariaDb" />
paket add Zymergi.Data.MariaDb --version 11.1.0-alpha
#r "nuget: Zymergi.Data.MariaDb, 11.1.0-alpha"
#:package Zymergi.Data.MariaDb@11.1.0-alpha
#addin nuget:?package=Zymergi.Data.MariaDb&version=11.1.0-alpha&prerelease
#tool nuget:?package=Zymergi.Data.MariaDb&version=11.1.0-alpha&prerelease
Zymergi.Data.MariaDb
MariaDB/MySQL repository implementations for Zymergi entities. Built on raw ADO.NET with SQL generated by Zymergi.Core.Data helpers — not an ORM.
Targets .NET 10. Depends on Zymergi.Core.
Install
dotnet add package Zymergi.Data.MariaDb
Usage
Register a DbConnection (the repository constructors take System.Data.Common.DbConnection), then the repositories you need:
services.AddSingleton<IDbConnectionFactory, AppSettingsDbConnectionFactory>();
services.AddScoped<DbConnection>(sp =>
sp.GetRequiredService<IDbConnectionFactory>().GetConnection("app"));
services.AddScoped<ILogRepository, MariaLogRepository>();
services.AddScoped<IDbRegistry, MariaRegistry>();
Writes that must share a transaction take the same DbUnitOfWork:
await using var uow = await DbUnitOfWork.CreateAsync(connection);
var repo = new MariaLogRepository(uow);
await uow.CommitAsync();
Included repositories
| Type | Purpose |
|---|---|
MariaRepositoryBase<T> |
CRUD, soft-delete, restore, paging, change events |
MariaRegistrableRepositoryBase<T> |
Handle lookup via the registry table |
MariaRegistry |
Central handle registry |
MariaLogRepository |
Immutable log entries |
Article repositories live in Zymergi.Articles.MariaDb. User, favorite, comment, and submission repositories live in Zymergi.Social.MariaDb.
| 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
- Zymergi.Core (>= 11.1.0-alpha)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Zymergi.Data.MariaDb:
| Package | Downloads |
|---|---|
|
Zymergi.Articles.MariaDb
MariaDB persistence and DI registration for the Zymergi Article domain. |
|
|
Zymergi.Social.MariaDb
MariaDB persistence and DI registration for the Zymergi Social domain. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.1.0-alpha | 47 | 10/1/2026 |
| 11.0.6-alpha | 117 | 7/10/2026 |
| 11.0.5-alpha | 136 | 7/9/2026 |
| 11.0.4-alpha | 92 | 7/6/2026 |
| 11.0.3-alpha | 78 | 7/6/2026 |
| 11.0.2-alpha | 117 | 6/30/2026 |
| 11.0.1-alpha | 103 | 6/30/2026 |
| 11.0.0-alpha | 95 | 6/29/2026 |