BaseLib.Core.MySql 3.1.0

dotnet add package BaseLib.Core.MySql --version 3.1.0
                    
NuGet\Install-Package BaseLib.Core.MySql -Version 3.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="BaseLib.Core.MySql" Version="3.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BaseLib.Core.MySql" Version="3.1.0" />
                    
Directory.Packages.props
<PackageReference Include="BaseLib.Core.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 BaseLib.Core.MySql --version 3.1.0
                    
#r "nuget: BaseLib.Core.MySql, 3.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 BaseLib.Core.MySql@3.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=BaseLib.Core.MySql&version=3.1.0
                    
Install as a Cake Addin
#tool nuget:?package=BaseLib.Core.MySql&version=3.1.0
                    
Install as a Cake Tool

BaseLib.Core.MySql

Overview

Contains concrete implementations of the interfaces from BaseLib.Core for MySql

Services

JournalEntryWriter is the implementation of IJournalEntryWriter to store the events in a relational JOURNAL table. Check the source code for the dbinstall-v1.0.0.sql script to create the table

As a best practice, for security and performance reasons, store only the JournalEntry in the relational database. Request and Responses should be store in an object store in a secure manner.

#JOURNAL TABLE
CREATE TABLE IF NOT EXISTS JOURNAL (
  ID int NOT NULL AUTO_INCREMENT,
  SERVICE_NAME VARCHAR(255) DEFAULT NULL,
  STARTED_ON TIMESTAMP(6) DEFAULT NULL,
  FINISHED_ON TIMESTAMP(6) DEFAULT NULL,
  OPERATION_ID VARCHAR(255) DEFAULT NULL,
  CORRELATION_ID VARCHAR(255) DEFAULT NULL,
  SUCCEEDED BOOLEAN DEFAULT NULL,
  REASON_CODE INT DEFAULT NULL,
  REASON VARCHAR(255),
  MESSAGES TEXT,
  PRIMARY KEY (ID),
  UNIQUE KEY IX_OPERATION (OPERATION_ID),
  KEY IX_CORRELATION (CORRELATION_ID),
  KEY IX_SERVICE_DATES (STARTED_ON,SERVICE_NAME)
)

##Extensions

MySqlConnection::SetWaitTimeout() allows to specify the session wait timeout

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.0 183 9/8/2025
3.0.0-beta-001 191 5/7/2025
2.1.0 1,787 12/28/2023
2.0.0 516 11/7/2023
1.0.0 218 10/16/2023
1.0.0-beta-001 949 8/11/2023