EFCore.IncludeByExpression
9.0.9
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EFCore.IncludeByExpression --version 9.0.9
NuGet\Install-Package EFCore.IncludeByExpression -Version 9.0.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EFCore.IncludeByExpression" Version="9.0.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EFCore.IncludeByExpression" Version="9.0.9" />
<PackageReference Include="EFCore.IncludeByExpression" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EFCore.IncludeByExpression --version 9.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EFCore.IncludeByExpression, 9.0.9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EFCore.IncludeByExpression@9.0.9
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EFCore.IncludeByExpression&version=9.0.9
#tool nuget:?package=EFCore.IncludeByExpression&version=9.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EFCore.IncludeByExpression
This repository provides a library that allows to build expressions of only .Include and .ThenInclude methods.
Getting started
Install from NuGet
Install-Package EFCore.IncludeByExpression
Abstractions can be installed from NuGet
Install-Package EFCore.IncludeByExpression.Abstractions
Example Usage
using EFCore.IncludeByExpression;
using EFCore.IncludeByExpression.Abstractions;
static void Main(string[] args)
{
var nodes = GetNodes(x => x.Include(y => y.Childs).ThenInclude(y => y.Parent));
}
static IEnumerable<Node> GetNodes(NavigationPropertyPath<Node>? navigationPropertyPath = null)
{
return DbContext.Nodes.IncludeByExpression(navigationPropertyPath).ToList();
}
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- EFCore.IncludeByExpression.Abstractions (>= 1.0.9)
- Microsoft.EntityFrameworkCore (>= 9.0.9)
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.1 | 112 | 12/5/2025 |
| 9.0.11 | 99 | 12/5/2025 |
| 9.0.10 | 110 | 12/5/2025 |
| 9.0.9 | 172 | 9/20/2025 |
| 9.0.8 | 142 | 8/9/2025 |
| 9.0.7 | 196 | 6/18/2025 |
| 9.0.6 | 301 | 6/10/2025 |
| 9.0.5 | 179 | 4/12/2025 |
| 9.0.4 | 124 | 3/22/2025 |
| 9.0.3 | 200 | 3/11/2025 |
| 9.0.2 | 230 | 3/4/2025 |
| 9.0.1 | 148 | 12/29/2024 |
| 8.0.11 | 103 | 12/5/2025 |
| 8.0.10 | 108 | 12/5/2025 |
| 8.0.9 | 171 | 9/20/2025 |
| 8.0.8 | 134 | 8/9/2025 |
| 8.0.7 | 176 | 6/18/2025 |
| 8.0.6 | 323 | 6/10/2025 |
| 8.0.5 | 174 | 4/12/2025 |
| 8.0.4 | 100 | 3/22/2025 |
| 8.0.3 | 225 | 3/11/2025 |
| 8.0.2 | 246 | 3/4/2025 |
| 8.0.1 | 125 | 12/29/2024 |
| 3.0.4 | 177 | 9/11/2024 |
| 3.0.3 | 166 | 9/1/2024 |
| 2.0.2 | 235 | 1/22/2024 |
| 2.0.1 | 152 | 1/21/2024 |
| 2.0.0 | 157 | 1/20/2024 |