Microsoft.EntityFrameworkCore.SqlServer.HierarchyId 8.0.29

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
47
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
43
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
39
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
39
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
38
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
38
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
37
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
36
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
36
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
34
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
33
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
32
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
31
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
31

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