Microsoft.EntityFrameworkCore.SqlServer.HierarchyId 10.0.1

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

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