Microsoft.EntityFrameworkCore.SqlServer.HierarchyId 9.0.12

Microsoft.EntityFrameworkCore.SqlServer.HierarchyId enables use of hierarchical data for SQL Server and Azure SQL with Entity Framework Core and NetTopologySuite.

Usage

Call UseHierarchyId inside the call to UseSqServer when configuring the SQLite database provider for your DbContext. For example:

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    => options.UseSqlServer(
        "Server=localhost;Database=MyDatabase;Trusted_Connection=True;",
        b => b.HierarchyId());

See Hierarchical Data in the SQL Server EF Core Provider for more information on HierarchyId with EF Core.

Getting started with EF Core

See Getting started with EF Core for more information about EF NuGet packages, including which to install when getting started.

Feedback

If you encounter a bug or issues with this package,you can open an Github issue. For more details, see getting support.

Showing the top 20 packages that depend on Microsoft.EntityFrameworkCore.SqlServer.HierarchyId.

Packages Downloads
EFCore.BulkExtensions.MIT
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
27
EFCore.BulkExtensions.MIT
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
21
EFCore.BulkExtensions.MIT
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
16
EFCore.BulkExtensions.MIT
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
15
EFCore.BulkExtensions.MIT
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
14
EFCore.BulkExtensions.MIT
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
12
EFCore.BulkExtensions.MIT
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
8
EFCore.BulkExtensions.MIT
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
7

Version Downloads Last updated
10.0.2 1 01/16/2026
10.0.1 4 12/11/2025
10.0.0 4 11/13/2025
10.0.0-rc.2.25502.107 6 10/19/2025
10.0.0-rc.1.25451.107 8 09/13/2025
10.0.0-preview.7.25380.108 8 08/21/2025
10.0.0-preview.6.25358.103 10 08/04/2025
10.0.0-preview.5.25277.114 12 06/08/2025
10.0.0-preview.4.25258.110 12 06/05/2025
10.0.0-preview.3.25171.6 13 05/05/2025
10.0.0-preview.2.25163.8 14 04/05/2025
10.0.0-preview.1.25081.1 15 02/27/2025
9.0.12 1 01/16/2026
9.0.11 6 11/13/2025
9.0.10 7 10/17/2025
9.0.9 6 09/12/2025
9.0.8 8 08/07/2025
9.0.7 10 07/11/2025
9.0.6 13 06/12/2025
9.0.5 9 06/06/2025
9.0.4 10 05/06/2025
9.0.3 14 03/11/2025
9.0.2 14 02/27/2025
9.0.1 16 02/27/2025
9.0.0 15 02/27/2025
9.0.0-rc.2.24474.1 16 02/27/2025
9.0.0-rc.1.24451.1 16 02/27/2025
9.0.0-preview.7.24405.3 15 02/27/2025
9.0.0-preview.6.24327.4 16 02/27/2025
9.0.0-preview.5.24306.3 15 02/27/2025
9.0.0-preview.4.24267.1 15 02/27/2025
9.0.0-preview.3.24172.4 16 02/27/2025
9.0.0-preview.2.24128.4 17 02/27/2025
9.0.0-preview.1.24081.2 16 02/27/2025
8.0.23 1 01/16/2026
8.0.22 5 11/14/2025
8.0.21 8 10/17/2025
8.0.20 8 09/12/2025
8.0.19 10 08/08/2025
8.0.18 11 07/11/2025
8.0.17 12 06/12/2025
8.0.16 10 06/06/2025
8.0.15 11 05/06/2025
8.0.14 13 03/11/2025
8.0.13 16 02/27/2025
8.0.12 15 02/27/2025
8.0.11 14 02/27/2025
8.0.10 14 02/27/2025
8.0.8 15 02/27/2025
8.0.7 15 02/27/2025
8.0.6 15 02/27/2025
8.0.5 15 02/27/2025
8.0.4 15 02/27/2025
8.0.3 16 02/27/2025
8.0.2 16 02/27/2025
8.0.1 17 02/27/2025
8.0.0 18 10/28/2024
8.0.0-rc.2.23480.1 15 02/27/2025
8.0.0-rc.1.23419.6 16 02/27/2025
8.0.0-preview.7.23375.4 16 02/27/2025
8.0.0-preview.6.23329.4 16 02/27/2025
8.0.0-preview.5.23280.1 16 02/27/2025
8.0.0-preview.4.23259.3 15 02/27/2025
8.0.0-preview.3.23174.2 16 02/27/2025
8.0.0-preview.2.23128.3 16 02/27/2025