Zymergi.Data.MariaDb 11.1.0-alpha

This is a prerelease version of Zymergi.Data.MariaDb.
dotnet add package Zymergi.Data.MariaDb --version 11.1.0-alpha
                    
NuGet\Install-Package Zymergi.Data.MariaDb -Version 11.1.0-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Zymergi.Data.MariaDb" Version="11.1.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zymergi.Data.MariaDb" Version="11.1.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Zymergi.Data.MariaDb" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Zymergi.Data.MariaDb --version 11.1.0-alpha
                    
#r "nuget: Zymergi.Data.MariaDb, 11.1.0-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Zymergi.Data.MariaDb@11.1.0-alpha
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Zymergi.Data.MariaDb&version=11.1.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Zymergi.Data.MariaDb&version=11.1.0-alpha&prerelease
                    
Install as a Cake Tool

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.

Source: bitbucket.org/zymergy/zymergi.saas

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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