Microsoft.EntityFrameworkCore.SqlServer.HierarchyId 9.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
30
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
29
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
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
26
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
24
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
24
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
24
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
23
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
23
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
22
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
22
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
22
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
21
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
21
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
20

Version Downloads Last updated
10.0.0-preview.6.25358.103 3 07/23/2025
10.0.0-preview.5.25277.114 10 06/08/2025
10.0.0-preview.4.25258.110 11 05/23/2025
10.0.0-preview.3.25171.6 10 04/17/2025
10.0.0-preview.2.25163.8 12 03/21/2025
10.0.0-preview.1.25081.1 21 02/27/2025
9.0.8 1 08/11/2025
9.0.7 2 07/13/2025
9.0.6 5 06/14/2025
9.0.5 7 05/24/2025
9.0.4 9 04/17/2025
9.0.3 13 03/14/2025
9.0.2 15 02/18/2025
9.0.1 16 02/01/2025
9.0.0 22 11/19/2024
9.0.0-rc.2.24474.1 19 11/28/2024
9.0.0-rc.1.24451.1 14 11/13/2024
9.0.0-preview.7.24405.3 23 08/16/2024
9.0.0-preview.6.24327.4 24 07/11/2024
9.0.0-preview.5.24306.3 24 06/25/2024
9.0.0-preview.4.24267.1 24 06/25/2024
9.0.0-preview.3.24172.4 30 06/25/2024
9.0.0-preview.2.24128.4 26 06/25/2024
9.0.0-preview.1.24081.2 24 06/26/2024
8.0.19 1 08/11/2025
8.0.18 2 07/13/2025
8.0.17 4 06/13/2025
8.0.16 7 05/24/2025
8.0.15 9 04/17/2025
8.0.14 18 03/14/2025
8.0.13 13 02/12/2025
8.0.12 15 02/02/2025
8.0.11 16 11/19/2024
8.0.10 16 11/28/2024
8.0.8 21 08/16/2024
8.0.7 25 07/11/2024
8.0.6 21 06/26/2024
8.0.5 22 06/26/2024
8.0.4 20 06/26/2024
8.0.3 20 06/25/2024
8.0.2 19 06/25/2024
8.0.1 19 06/26/2024
8.0.0 19 06/26/2024
8.0.0-rc.2.23480.1 27 06/25/2024
8.0.0-rc.1.23419.6 16 06/26/2024
8.0.0-preview.7.23375.4 29 06/25/2024
8.0.0-preview.6.23329.4 21 06/25/2024
8.0.0-preview.5.23280.1 23 06/25/2024
8.0.0-preview.4.23259.3 24 06/25/2024
8.0.0-preview.3.23174.2 28 06/26/2024
8.0.0-preview.2.23128.3 24 06/25/2024