Microsoft.EntityFrameworkCore.SqlServer.HierarchyId
9.0.0
Prefix Reserved
Requires NuGet 3.6 or higher.
dotnet add package Microsoft.EntityFrameworkCore.SqlServer.HierarchyId --version 9.0.0
NuGet\Install-Package Microsoft.EntityFrameworkCore.SqlServer.HierarchyId -Version 9.0.0
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.HierarchyId" Version="9.0.0" />
paket add Microsoft.EntityFrameworkCore.SqlServer.HierarchyId --version 9.0.0
#r "nuget: Microsoft.EntityFrameworkCore.SqlServer.HierarchyId, 9.0.0"
// Install Microsoft.EntityFrameworkCore.SqlServer.HierarchyId as a Cake Addin #addin nuget:?package=Microsoft.EntityFrameworkCore.SqlServer.HierarchyId&version=9.0.0 // Install Microsoft.EntityFrameworkCore.SqlServer.HierarchyId as a Cake Tool #tool nuget:?package=Microsoft.EntityFrameworkCore.SqlServer.HierarchyId&version=9.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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Microsoft.Data.SqlClient (>= 5.1.6)
- Microsoft.EntityFrameworkCore.SqlServer (>= 9.0.0)
- Microsoft.EntityFrameworkCore.SqlServer.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Caching.Memory (>= 9.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging (>= 9.0.0)
- Microsoft.SqlServer.Types (>= 160.1000.6)
- System.Formats.Asn1 (>= 9.0.0)
- System.Text.Json (>= 9.0.0)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on Microsoft.EntityFrameworkCore.SqlServer.HierarchyId:
Package | Downloads |
---|---|
EFCore.BulkExtensions.SqlServer
EntityFramework .Net EFCore EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server |
|
EFCore.BulkExtensions.MIT.SqlServer
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite |
|
EFCore.BulkExtensions.MIT
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite |
|
Youshow.Ace.Data
数据模块 |
|
EFCore.BulkExtensions.MIT.MySQL
EntityFramework EF Core Bulk Batch Extensions for Insert Update Delete Read (CRUD) operations on SQL Server, PostgreSQL, MySQL, SQLite |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on Microsoft.EntityFrameworkCore.SqlServer.HierarchyId:
Repository | Stars |
---|---|
borisdj/EFCore.BulkExtensions
Entity Framework EF Core efcore Bulk Batch Extensions with BulkCopy in .Net for Insert Update Delete Read (CRUD), Truncate and SaveChanges operations on SQL Server, PostgreSQL, MySQL, SQLite
|
|
ErikEJ/EFCorePowerTools
Entity Framework Core Power Tools - reverse engineering, migrations and model visualization in Visual Studio & CLI
|
|
sjh37/EntityFramework-Reverse-POCO-Code-First-Generator
EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully customisable. This generator creates code as if you reverse engineered a database and lovingly created the code by hand. It is free to academics (you need a .edu or a .ac email address), not free for commercial use. Obtain your licence from
|
|
videokojot/EFCore.BulkExtensions.MIT
|
Version | Downloads | Last updated |
---|---|---|
9.0.0 | 15,786 | 11/12/2024 |
9.0.0-rc.2.24474.1 | 4,255 | 10/8/2024 |
9.0.0-rc.1.24451.1 | 4,734 | 9/10/2024 |
9.0.0-preview.7.24405.3 | 166 | 8/13/2024 |
9.0.0-preview.6.24327.4 | 127 | 7/9/2024 |
9.0.0-preview.5.24306.3 | 123 | 6/11/2024 |
9.0.0-preview.4.24267.1 | 123 | 5/21/2024 |
9.0.0-preview.3.24172.4 | 570 | 4/11/2024 |
9.0.0-preview.2.24128.4 | 194 | 3/12/2024 |
9.0.0-preview.1.24081.2 | 944 | 2/13/2024 |
8.0.11 | 66,904 | 11/12/2024 |
8.0.10 | 60,716 | 10/8/2024 |
8.0.8 | 665,215 | 8/13/2024 |
8.0.7 | 449,881 | 7/9/2024 |
8.0.6 | 89,072 | 5/28/2024 |
8.0.5 | 926,821 | 5/14/2024 |
8.0.4 | 434,319 | 4/9/2024 |
8.0.3 | 80,588 | 3/12/2024 |
8.0.2 | 937,328 | 2/13/2024 |
8.0.1 | 63,096 | 1/9/2024 |
8.0.0 | 1,322,114 | 11/14/2023 |
8.0.0-rc.2.23480.1 | 3,440 | 10/10/2023 |
8.0.0-rc.1.23419.6 | 45,076 | 9/12/2023 |
8.0.0-preview.7.23375.4 | 2,525 | 8/8/2023 |
8.0.0-preview.6.23329.4 | 1,911 | 7/11/2023 |
8.0.0-preview.5.23280.1 | 3,354 | 6/13/2023 |
8.0.0-preview.4.23259.3 | 2,181 | 5/16/2023 |
8.0.0-preview.3.23174.2 | 218 | 4/11/2023 |
8.0.0-preview.2.23128.3 | 467 | 3/14/2023 |