Compze.Sql.MySql 0.7.0-alpha

Prefix Reserved
This is a prerelease version of Compze.Sql.MySql.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Compze.Sql.MySql --version 0.7.0-alpha
                    
NuGet\Install-Package Compze.Sql.MySql -Version 0.7.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="Compze.Sql.MySql" Version="0.7.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.Sql.MySql" Version="0.7.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Compze.Sql.MySql" />
                    
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 Compze.Sql.MySql --version 0.7.0-alpha
                    
#r "nuget: Compze.Sql.MySql, 0.7.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 Compze.Sql.MySql@0.7.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=Compze.Sql.MySql&version=0.7.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Compze.Sql.MySql&version=0.7.0-alpha&prerelease
                    
Install as a Cake Tool

For Compze internal use only. Do not take a direct dependency on this package

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Compze.Sql.MySql:

Package Downloads
Compze.Tessaging.MySql

For Compze internal use only. Do not take a direct dependency on this package. MySQL inbox/outbox backend for Compze messaging.

Compze.DocumentDb.MySql

MySQL backend for the Compze document database: a MySQL IDocumentDbSqlLayer implementation for Compze.DocumentDb.

Compze.TypeIdentifiers.Interning.MySql

MySQL backend for Compze type-id interning: a MySQL ITypeIdInternerPersistence implementation for Compze.TypeIdentifiers.Interning.

Compze.Teventive.TeventStore.MySql

For Compze internal use only. Do not take a direct dependency on this package. MySQL tevent-store backend for Compze.

Compze.Teventive.MemoryImageStateStore.MySql

The MySQL tables of Compze's memory image state store: MySqlMemoryImageStateStoreSqlLayer(), for a memory image state store kept in the tables of a MySQL domain database, which one memory image at a time uses.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.10.11-alpha 0 12/5/2026
0.10.10-alpha 0 12/5/2026
0.10.9-alpha 0 12/5/2026
0.10.8-alpha 64 12/5/2026
0.10.7-alpha 81 12/5/2026
0.10.6-alpha 67 12/5/2026
0.10.5-alpha 67 12/5/2026
0.10.4-alpha 104 12/4/2026
0.10.3-alpha 133 12/3/2026
0.10.2-alpha 144 12/3/2026
0.10.1-alpha 83 12/2/2026
0.10.0-alpha 79 12/2/2026
0.9.4-alpha 190 11/29/2026
0.9.3-alpha 112 11/28/2026
0.9.2-alpha 108 11/28/2026
0.9.1-alpha 112 11/28/2026
0.9.0-alpha 121 11/27/2026
0.8.0-alpha 69 11/27/2026
0.7.1-alpha 79 11/26/2026
0.7.0-alpha 96 11/25/2026
Loading failed

- **Internal: what Compze.Teventive.MemoryImageStateStore.MySql needs to keep a memory image state store in MySQL tables.**
- **A transaction that holds a durable resource already, such as another database's connection or a resource manager of your own, refuses Compze's MySQL connection with a message that says so,** and names the connection, the rule and what to do: keep each database, and each other durable resource, in transactions of its own. Before, it was .NET's "Implicit distributed transactions have not been enabled", which names neither. When your resource takes part second instead, the refusal is .NET's own, from your call: the `MySqlDomainDatabase` documentation now says so.
- **Creating the schema at a database's first use no longer waits for a free thread-pool thread.** A synchronous SQL layer, such as the tevent store's, blocked its thread on the asynchronous creation, whose continuations each needed a free thread-pool thread, while many units of work at once could hold every one, each blocked waiting for the creation. The creation is now synchronous for every caller, the asynchronous SQL layers' too, which block their thread for it once, at the database's first use.
- **A transaction holding Compze's MySQL connection commits the database as its decision:** the database commits once every other participant of the transaction has prepared, and before any is told the outcome. Compze begins the connection's transaction itself, at the ambient transaction's isolation level, and every connection opens with MySqlConnector's `AutoEnlist=false`, whatever the configured connection string says. Before, MySqlConnector's enlistment committed only when told the outcome, after participants told before it, such as Compze's units of work, which then acted on a commit that hadn't happened. And a commit that failed, as when the connection dropped, threw out of the transaction's notifications: the participants after it were never told, the transaction never completed, and the connection the transaction held, and the units of work's locks, were never released. Now a commit that fails aborts the transaction, or, when the connection broke before the server answered, leaves it in doubt, and every participant is told so.
 - **What a consumer could notice:** the connection takes part as its transaction's durable participant, as SQL Server's does, so a transaction that also holds another durable resource, such as a second database's connection, becomes distributed, which .NET refuses unless distributed transactions are allowed; with them allowed, the connection refuses to prepare a two-phase commit, and the transaction rolls back. Before, such a transaction committed the two one after the other. A volatile participant of the consumer's own keeps working, and is told the outcome once the database has committed.
- **Requires newer minor versions of other Compze packages:** Compze.Sql.Common 0.6.0-alpha (was 0.5.0-alpha). Upgrading to this version upgrades each package listed here too, so their changelogs apply to this upgrade as well.