iPlus.EntityFrameworkCore.SqlServer.HierarchyId
10.0.0-dev
Requires NuGet 3.6 or higher.
dotnet add package iPlus.EntityFrameworkCore.SqlServer.HierarchyId --version 10.0.0-dev
NuGet\Install-Package iPlus.EntityFrameworkCore.SqlServer.HierarchyId -Version 10.0.0-dev
<PackageReference Include="iPlus.EntityFrameworkCore.SqlServer.HierarchyId" Version="10.0.0-dev" />
<PackageVersion Include="iPlus.EntityFrameworkCore.SqlServer.HierarchyId" Version="10.0.0-dev" />
<PackageReference Include="iPlus.EntityFrameworkCore.SqlServer.HierarchyId" />
paket add iPlus.EntityFrameworkCore.SqlServer.HierarchyId --version 10.0.0-dev
#r "nuget: iPlus.EntityFrameworkCore.SqlServer.HierarchyId, 10.0.0-dev"
#:package iPlus.EntityFrameworkCore.SqlServer.HierarchyId@10.0.0-dev
#addin nuget:?package=iPlus.EntityFrameworkCore.SqlServer.HierarchyId&version=10.0.0-dev&prerelease
#tool nuget:?package=iPlus.EntityFrameworkCore.SqlServer.HierarchyId&version=10.0.0-dev&prerelease
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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- iPlus.EntityFrameworkCore.SqlServer (>= 10.0.0-dev)
- iPlus.EntityFrameworkCore.SqlServer.Abstractions (>= 10.0.0-dev)
- Microsoft.Data.SqlClient (>= 6.1.1)
- Microsoft.Extensions.Caching.Memory (>= 10.0.0-rc.1.25523.109)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.0-rc.1.25523.109)
- Microsoft.Extensions.Logging (>= 10.0.0-rc.1.25523.109)
- Microsoft.SqlServer.Types (>= 160.1000.6)
- System.Text.Json (>= 10.0.0-rc.1.25523.109)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0-dev | 37 | 3/5/2026 |