Microsoft.EntityFrameworkCore.SqlServer.HierarchyId 9.0.11

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

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