Thinktecture.EntityFrameworkCore.SqlServer
11.0.0-beta03
dotnet add package Thinktecture.EntityFrameworkCore.SqlServer --version 11.0.0-beta03
NuGet\Install-Package Thinktecture.EntityFrameworkCore.SqlServer -Version 11.0.0-beta03
<PackageReference Include="Thinktecture.EntityFrameworkCore.SqlServer" Version="11.0.0-beta03" />
<PackageVersion Include="Thinktecture.EntityFrameworkCore.SqlServer" Version="11.0.0-beta03" />
<PackageReference Include="Thinktecture.EntityFrameworkCore.SqlServer" />
paket add Thinktecture.EntityFrameworkCore.SqlServer --version 11.0.0-beta03
#r "nuget: Thinktecture.EntityFrameworkCore.SqlServer, 11.0.0-beta03"
#:package Thinktecture.EntityFrameworkCore.SqlServer@11.0.0-beta03
#addin nuget:?package=Thinktecture.EntityFrameworkCore.SqlServer&version=11.0.0-beta03&prerelease
#tool nuget:?package=Thinktecture.EntityFrameworkCore.SqlServer&version=11.0.0-beta03&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)
- Entity Inheritance (TPH) in bulk operations and temp tables (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
- Microsoft.EntityFrameworkCore.SqlServer (>= 11.0.0)
- Thinktecture.EntityFrameworkCore.BulkOperations (>= 11.0.0-beta03)
NuGet packages (14)
Showing the top 5 NuGet packages that depend on Thinktecture.EntityFrameworkCore.SqlServer:
| Package | Downloads |
|---|---|
|
TrueSight
Package Description |
|
|
GreatUtilities.Data
Essencial tools to agile development. |
|
|
Thinktecture.EntityFrameworkCore.SqlServer.Testing
Package Description |
|
|
ShayganTadbir.Framework.Core
Package description |
|
|
JPVTech.Hive.DAL.Base
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-beta03 | 39 | 11/28/2026 |
| 11.0.0-beta02 | 137 | 11/19/2026 |
| 11.0.0-beta01 | 118 | 11/13/2026 |
| 10.6.0-beta05 | 41 | 11/28/2026 |
| 10.6.0-beta04 | 106 | 11/19/2026 |
| 10.6.0-beta03 | 117 | 11/9/2026 |
| 10.6.0-beta02 | 104 | 11/6/2026 |
| 10.6.0-beta01 | 117 | 11/4/2026 |
| 10.5.0 | 24,948 | 10/13/2026 |
| 10.5.0-beta01 | 117 | 10/12/2026 |
| 10.4.0 | 47,894 | 8/26/2026 |
| 10.4.0-beta03 | 163 | 7/18/2026 |
| 10.4.0-beta02 | 161 | 6/26/2026 |
| 10.4.0-beta01 | 145 | 6/25/2026 |
| 10.3.0 | 160,330 | 6/25/2026 |
| 10.3.0-beta01 | 165 | 6/18/2026 |
| 10.2.0 | 5,992 | 6/18/2026 |
| 10.2.0-beta02 | 386 | 6/5/2026 |
| 10.2.0-beta01 | 158 | 6/1/2026 |
| 10.1.0 | 66,098 | 5/16/2026 |