๐Ÿฌ Unleasharp.DB.MySQL

November 20, 2025 ยท View on GitHub

NuGet version (Unleasharp.DB.MySQL) Github Pages Documentation Changelog

Unleasharp.DB.MySQL

MySQL implementation of Unleasharp.DB.Base. This repository provides a MySQL-specific implementation that leverages the base abstraction layer for common database operations.

๐Ÿ“ฆ Installation

Install the NuGet package using one of the following methods:

Package Manager Console

Install-Package Unleasharp.DB.MySQL

.NET CLI

dotnet add package Unleasharp.DB.MySQL

PackageReference (Manual)

<PackageReference Include="Unleasharp.DB.MySQL" Version="1.8.5" />

๐ŸŽฏ Features

  • MySQL-Specific Query Rendering: Custom query building and rendering tailored for MySQL
  • Connection Management: Robust connection handling through ConnectorManager
  • Query Builder Integration: Seamless integration with the base QueryBuilder
  • Schema Definition Support: Full support for table and column attributes

๐Ÿš€ Kickstart

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>();

๐Ÿ“– Documentation Resources

๐Ÿ“ฆ Dependencies

๐Ÿ“‹ Version Compatibility

This library targets .NET 6.0 and later versions. For specific version requirements, please check the package dependencies.

๐Ÿ“„ License

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