Anarchy.Toolkit.Infrastructure.Persistence.Mysql
1.1.0
Suggested Alternatives
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Anarchy.Toolkit.Infrastructure.Persistence.Mysql --version 1.1.0
NuGet\Install-Package Anarchy.Toolkit.Infrastructure.Persistence.Mysql -Version 1.1.0
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="Anarchy.Toolkit.Infrastructure.Persistence.Mysql" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anarchy.Toolkit.Infrastructure.Persistence.Mysql" Version="1.1.0" />
<PackageReference Include="Anarchy.Toolkit.Infrastructure.Persistence.Mysql" />
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 Anarchy.Toolkit.Infrastructure.Persistence.Mysql --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Anarchy.Toolkit.Infrastructure.Persistence.Mysql, 1.1.0"
#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 Anarchy.Toolkit.Infrastructure.Persistence.Mysql@1.1.0
#: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=Anarchy.Toolkit.Infrastructure.Persistence.Mysql&version=1.1.0
#tool nuget:?package=Anarchy.Toolkit.Infrastructure.Persistence.Mysql&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Anarchy.Toolkit.Infrastructure.Persistence.Mysql
MySQL adapter for the toolkit's relational persistence layer, using MySqlConnector.
dotnet add package Anarchy.Toolkit.Infrastructure.Persistence.Mysql
MysqlDbDialect, connection pools, unit of work, retry policy and repository bases adapt the shared relational layer to MySQL.- Register an
Observerin DI and configureModuleMysqlwith connection and resilience options factories;AddMysqlHealthReports()adds reader and writer checks. - The unkeyed storage policy uses the writer; use the
readerkey for read-only operations. Port 3306 is the default. - Named session time zones require populated MySQL time-zone tables. Retry the whole unit of work rather than individual commands inside a transaction.
See the MySQL usage notes and Testing.Mysql.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Anarchy.Toolkit.Core (>= 1.0.1)
- Anarchy.Toolkit.Infrastructure.Persistence.Db (>= 1.1.0)
- Dapper (= 2.1.79)
- Humanizer (>= 3.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.14)
- MySqlConnector (>= 2.6.2)
- Newtonsoft.Json (>= 13.0.4)
- Polly.Core (>= 8.9.0)
- Serilog (>= 4.4.0)
- Serilog.Sinks.Console (>= 6.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Anarchy.Toolkit.Infrastructure.Persistence.Mysql:
| Package | Downloads |
|---|---|
|
Anarchy.Toolkit.Testing.Mysql
MySQL integration-test fixtures, settings mapping, enum handlers and table reset helpers. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release.