Microsoft.EntityFrameworkCore.SqlServer.HierarchyId 10.0.8

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.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
35
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
33
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
30
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
30
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
29
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
28
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
28
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
27
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
26
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
25
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
25
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
24
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
22
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
22

Version Downloads Last updated
11.0.0-preview.5.26302.115 2 06/10/2026
11.0.0-preview.4.26230.115 13 05/14/2026
11.0.0-preview.3.26207.106 15 04/16/2026
11.0.0-preview.2.26159.112 16 03/12/2026
11.0.0-preview.1.26104.118 18 02/12/2026
10.0.9 1 06/10/2026
10.0.8 8 05/14/2026
10.0.7 18 04/23/2026
10.0.6 18 04/16/2026
10.0.5 22 03/14/2026
10.0.4 22 03/12/2026
10.0.3 19 02/15/2026
10.0.2 26 01/16/2026
10.0.1 32 12/11/2025
10.0.0 22 12/12/2025
10.0.0-rc.2.25502.107 16 12/12/2025
10.0.0-rc.1.25451.107 14 12/10/2025
10.0.0-preview.7.25380.108 18 12/12/2025
10.0.0-preview.6.25358.103 17 12/12/2025
10.0.0-preview.5.25277.114 15 12/12/2025
10.0.0-preview.4.25258.110 18 12/12/2025
10.0.0-preview.3.25171.6 18 12/12/2025
10.0.0-preview.2.25163.8 18 12/12/2025
10.0.0-preview.1.25081.1 19 12/11/2025
9.0.17 1 06/10/2026
9.0.16 12 05/14/2026
9.0.15 17 04/16/2026
9.0.14 22 03/11/2026
9.0.13 20 02/15/2026
9.0.12 21 01/16/2026
9.0.11 17 12/12/2025
9.0.10 19 12/18/2025
9.0.9 20 12/11/2025
9.0.8 22 12/13/2025
9.0.7 22 12/12/2025
9.0.6 25 12/12/2025
9.0.5 17 12/20/2025
9.0.4 23 12/12/2025
9.0.3 20 12/12/2025
9.0.2 21 12/14/2025
9.0.1 22 12/12/2025
9.0.0 20 12/11/2025
9.0.0-rc.2.24474.1 14 12/13/2025
9.0.0-rc.1.24451.1 16 12/12/2025
9.0.0-preview.7.24405.3 17 12/11/2025
9.0.0-preview.6.24327.4 16 12/12/2025
9.0.0-preview.5.24306.3 16 12/10/2025
9.0.0-preview.4.24267.1 19 12/12/2025
9.0.0-preview.3.24172.4 18 12/12/2025
9.0.0-preview.2.24128.4 14 12/13/2025
9.0.0-preview.1.24081.2 16 12/12/2025
8.0.28 1 06/10/2026
8.0.27 14 05/14/2026
8.0.26 17 04/16/2026
8.0.25 15 03/13/2026
8.0.24 20 02/15/2026
8.0.23 25 01/15/2026
8.0.22 19 12/12/2025
8.0.21 19 12/12/2025
8.0.20 16 12/14/2025
8.0.19 19 12/12/2025
8.0.18 21 12/12/2025
8.0.17 19 12/14/2025
8.0.16 14 12/12/2025
8.0.15 16 12/12/2025
8.0.14 20 12/11/2025
8.0.13 18 12/13/2025
8.0.12 20 12/14/2025
8.0.11 19 12/11/2025
8.0.10 22 12/12/2025
8.0.8 23 12/10/2025
8.0.7 20 12/12/2025
8.0.6 19 12/12/2025
8.0.5 20 12/12/2025
8.0.4 24 12/13/2025
8.0.3 18 12/12/2025
8.0.2 24 12/11/2025
8.0.1 17 12/12/2025
8.0.0 23 12/12/2025
8.0.0-rc.2.23480.1 18 12/11/2025
8.0.0-rc.1.23419.6 14 12/10/2025
8.0.0-preview.7.23375.4 16 12/12/2025
8.0.0-preview.6.23329.4 15 12/15/2025
8.0.0-preview.5.23280.1 19 12/14/2025
8.0.0-preview.4.23259.3 17 12/13/2025
8.0.0-preview.3.23174.2 18 12/09/2025
8.0.0-preview.2.23128.3 16 12/11/2025