Lightweight MySQL query-building client for C#.
License
—
Deps
4
Install Size
—
Vulns
✓ 0
Published
Nov 20, 2025
$ dotnet add package Unleasharp.DB.MySQLMySQL implementation of Unleasharp.DB.Base. This repository provides a MySQL-specific implementation that leverages the base abstraction layer for common database operations.
Install the NuGet package using one of the following methods:
Install-Package Unleasharp.DB.MySQL
dotnet add package Unleasharp.DB.MySQL
<PackageReference Include="Unleasharp.DB.MySQL" Version="1.8.5" />
var db = new ConnectorManager("Server=localhost;Database=unleasharp;Uid=unleasharp;Pwd=unleasharp;")
var row = db.QueryBuilder().Build(query => query
.From<ExampleTable>()
.OrderBy<ExampleTable>(row => row.Id, OrderDirection.DESC)
.Limit(1)
.Select()
).FirstOrDefault<ExampleTable>();
This library targets .NET 6.0 and later versions. For specific version requirements, please check the package dependencies.
This project is licensed under the MIT License - see the LICENSE file for details.
For more information about Unleasharp.DB.Base, visit: Unleasharp.DB.Base