Microsoft.EntityFrameworkCore.SqlServer.HierarchyId 10.0.0

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
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
40
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
43
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
44
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
46
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
47
EFCore.BulkExtensions
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite
51
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
42
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
43
EFCore.BulkExtensions.MySql
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on MySQL
44
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
37
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
40
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
43
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
44
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
46
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
49
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server
51

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