EFCore.IncludeByExpression
9.0.7
dotnet add package EFCore.IncludeByExpression --version 9.0.7
NuGet\Install-Package EFCore.IncludeByExpression -Version 9.0.7
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.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EFCore.IncludeByExpression" Version="9.0.7" />
<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.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EFCore.IncludeByExpression, 9.0.7"
#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.7
#: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.7
#tool nuget:?package=EFCore.IncludeByExpression&version=9.0.7
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.6)
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 |
---|---|---|
9.0.7 | 138 | 6/18/2025 |
9.0.6 | 279 | 6/10/2025 |
9.0.5 | 149 | 4/12/2025 |
9.0.4 | 82 | 3/22/2025 |
9.0.3 | 171 | 3/11/2025 |
9.0.2 | 209 | 3/4/2025 |
9.0.1 | 115 | 12/29/2024 |
8.0.7 | 134 | 6/18/2025 |
8.0.6 | 284 | 6/10/2025 |
8.0.5 | 134 | 4/12/2025 |
8.0.4 | 76 | 3/22/2025 |
8.0.3 | 186 | 3/11/2025 |
8.0.2 | 212 | 3/4/2025 |
8.0.1 | 98 | 12/29/2024 |
3.0.4 | 138 | 9/11/2024 |
3.0.3 | 128 | 9/1/2024 |
2.0.2 | 200 | 1/22/2024 |
2.0.1 | 119 | 1/21/2024 |
2.0.0 | 130 | 1/20/2024 |