AmpScm.RepoDb.MySqlConnector 1.14.0-dev-20250320

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

MySqlConnectorBuild MySqlConnectorHome MySqlConnectorVersion MySqlConnectorReleases MySqlConnectorUnitTests MySqlConnectorIntegrationTests

RepoDb.MySqlConnector - a hybrid .NET ORM library for MySQL (using MySqlConnector)

RepoDB is an open-source .NET ORM library that bridges the gaps of micro-ORMs and full-ORMs. It helps you simplify the switch-over of when to use the BASIC and ADVANCE operations during the development.

Important Pages

  • GitHub Home Page - to learn more about the core library.
  • Website - docs, features, classes, references, releases and blogs.

Community Engagements

Dependencies

License

Apache-2.0 - Copyright © 2020 - Michael Camara Pendon


Installation

At the Package Manager Console, write the command below.

> Install-Package RepoDb.MySqlConnector

Or, visit our installation page for more information.

Get Started

First, the bootstrapper must be initialized.

RepoDb.MySqlConnectorBootstrap.Initialize();

Note: The call must be done once.

After the bootstrap initialization, any library operation can then be called.

Or, visit the official get-started page for MySQL.

Query

using (var connection = new MySqlConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(c => c.Id == 10045);
}

Insert

var customer = new Customer
{
	FirstName = "John",
	LastName = "Doe",
	IsActive = true
};
using (var connection = new MySqlConnection(ConnectionString))
{
	var id = connection.Insert<Customer>(customer);
}

Update

using (var connection = new MySqlConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(10045);
	customer.FirstName = "John";
	customer.LastUpdatedUtc = DateTime.UtcNow;
	var affectedRows = connection.Update<Customer>(customer);
}

Delete

using (var connection = new MySqlConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(10045);
	var deletedCount = connection.Delete<Customer>(customer);
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
1.14.2508.4318 138 8/4/2025
1.14.2507.18312 44 7/18/2025
1.14.2507.18302 78 7/18/2025
1.14.2507.17297 108 7/17/2025
1.14.2507.4263 65 7/4/2025
1.14.2507.2257 135 7/2/2025
1.14.2506.30251 132 6/30/2025
1.14.2506.18235 140 6/18/2025
1.14.2506.18231 132 6/18/2025
1.14.2506.10222 286 6/12/2025
1.14.2506.4209 136 6/4/2025
1.14.2505.23170 93 5/23/2025
1.14.2505.15147 223 5/15/2025
1.14.2505.7144 144 5/7/2025
1.14.2505.601 141 5/6/2025
1.14.2505.101 152 5/2/2025
1.14.2504.401 164 4/9/2025
1.14.0-dev-20250328 127 3/28/2025
1.14.0-dev-20250324 420 3/24/2025
1.14.0-dev-20250320 156 3/20/2025
1.14.0-dev-20250318 153 3/18/2025
1.14.0-dev-20250306.1 175 3/6/2025
1.14.0-dev-20250306 203 3/6/2025
1.14.0-dev-20250303 144 3/3/2025
1.14.0-dev-20250227 93 2/27/2025
1.14.0-dev-20250224 107 2/24/2025
1.14.0-dev-20250221 102 2/21/2025
1.14.0-dev-20250220 97 2/20/2025
1.14.0-dev-20250219 96 2/19/2025
1.14.0-dev-20250214.1 73 2/14/2025
1.14.0-dev-20250214 104 2/14/2025
1.14.0-dev-20250213 117 2/13/2025
1.14.0-dev-20250212 115 2/12/2025
1.14.0-dev-20250211 117 2/12/2025
1.14.0-dev-20250210 110 2/11/2025
1.14.0-alphaSD02 82 11/22/2024
1.14.0-alphaSD01 82 11/22/2024
1.4.0-dev-20250211 107 2/11/2025