Skip to content

About

A focused EF Core extension library that adds high‑performance bulk operations, temp‑table support, and other practical SQL enhancements for real‑world applications.

Topics

Resources

Stars

93 stars

Watchers

4 watching

Forks

Latest commit

 

History

576 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thinktecture.EntityFrameworkCore

Build NuGet Downloads TestResults

Thinktecture.EntityFrameworkCore.Relational
Thinktecture.EntityFrameworkCore.SqlServer
Thinktecture.EntityFrameworkCore.PostgreSQL
Thinktecture.EntityFrameworkCore.MySql
Thinktecture.EntityFrameworkCore.Sqlite.Core
Thinktecture.EntityFrameworkCore.Sqlite

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

Features

* 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

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.

About

A focused EF Core extension library that adds high‑performance bulk operations, temp‑table support, and other practical SQL enhancements for real‑world applications.

Topics

Resources

Stars

93 stars

Watchers

4 watching

Forks

Releases

Used by

Contributors

Languages