Thinktecture.EntityFrameworkCore.MySql
11.0.0-beta02
dotnet add package Thinktecture.EntityFrameworkCore.MySql --version 11.0.0-beta02
NuGet\Install-Package Thinktecture.EntityFrameworkCore.MySql -Version 11.0.0-beta02
<PackageReference Include="Thinktecture.EntityFrameworkCore.MySql" Version="11.0.0-beta02" />
<PackageVersion Include="Thinktecture.EntityFrameworkCore.MySql" Version="11.0.0-beta02" />
<PackageReference Include="Thinktecture.EntityFrameworkCore.MySql" />
paket add Thinktecture.EntityFrameworkCore.MySql --version 11.0.0-beta02
#r "nuget: Thinktecture.EntityFrameworkCore.MySql, 11.0.0-beta02"
#:package Thinktecture.EntityFrameworkCore.MySql@11.0.0-beta02
#addin nuget:?package=Thinktecture.EntityFrameworkCore.MySql&version=11.0.0-beta02&prerelease
#tool nuget:?package=Thinktecture.EntityFrameworkCore.MySql&version=11.0.0-beta02&prerelease
Thinktecture.EntityFrameworkCore
These libraries extend Entity Framework Core by a few features to make it easier to work with EF or to get more performance in some special cases.
Supported Providers
| Provider | Package |
|---|---|
| SQL Server | Thinktecture.EntityFrameworkCore.SqlServer |
| PostgreSQL (Npgsql) | Thinktecture.EntityFrameworkCore.PostgreSQL |
| MySQL (Microting; MariaDB is not tested) | Thinktecture.EntityFrameworkCore.MySql |
| SQLite | Thinktecture.EntityFrameworkCore.Sqlite |
Performance
- Temp-Tables (SQL Server, PostgreSQL, MySQL, SQLite)
- Bulk-Insert (SQL Server, PostgreSQL, MySQL, SQLite)
- Bulk-Update (SQL Server, PostgreSQL, MySQL, SQLite)
- Bulk-Upsert (Insert-or-Update) (SQL Server, PostgreSQL, MySQL, SQLite)
- Truncate Tables (SQL Server, PostgreSQL, MySQL, SQLite)
Features
- Collection Parameters (temp-tables light) (SQL Server, PostgreSQL, MySQL)
- Window Functions Support (RowNumber, Sum, Average, Min, Max) (SQL Server, PostgreSQL, MySQL, SQLite*)
- Bitwise Aggregates (BitOr, BitAnd, BitXor) (PostgreSQL, MySQL)
- Nested (virtual) Transactions
- Table Hints (SQL Server)
- Queries across multiple databases (SQL Server)
- Changing default schema at runtime
- If-Exists / If-Not-Exists checks in migrations (SQL Server, PostgreSQL)
* SQLite supports RowNumber and NTile; Sum, Average, Min, Max are available on SQL Server, PostgreSQL and MySQL.
MySQL bulk operations insert rows with multi-row INSERT statements by default. The registration AddBulkOperationSupport(useBulkCopy: true) switches every insert of the bulk operations to MySqlBulkCopy (LOAD DATA LOCAL INFILE). Bulk copy needs AllowLoadLocalInfile=true in the connection string and local_infile=ON on the server.
A MySQL bulk upsert returns the number of matched rows of its UPDATE plus the number of inserted rows.
Convenience
- Migrations: include-columns (SQL Server, PostgreSQL)
- Migrations: identity column (SQL Server, PostgreSQL)
- Migrations: (non-)clustered PK (SQL Server)
Best Practices
Extensibility
AI Coding Assistants
An AI agent skill teaches AI coding agents how to consume these packages. The skill lives in the repository PawelGerr/agent-skills under skills/thinktecture-entityframeworkcore. Install it with the skills CLI:
npx skills@latest add PawelGerr/agent-skills --skill thinktecture-entityframeworkcore
In Claude Code, you can install the skill as a plugin instead:
/plugin marketplace add PawelGerr/agent-skills
/plugin install thinktecture-entityframeworkcore@pawelgerr
The library is also indexed by Context7 (MCP) under the id /pawelgerr/thinktecture.entityframeworkcore. See AI Coding Assistants for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Microting.EntityFrameworkCore.MySql (>= 11.0.0)
- Thinktecture.EntityFrameworkCore.BulkOperations (>= 11.0.0-beta02)
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 |
|---|---|---|
| 11.0.0-beta02 | 12 | 11/19/2026 |
| 10.6.0-beta04 | 10 | 11/19/2026 |