Skip to main content
Published
Oct 13, 2026
6d ago
Total Downloads
113.9M
113,888,023

Install

dotnet add package Microsoft.EntityFrameworkCore.Proxies --version 11.0.0-rc.2.26504.105
ProductVersions
.NET
net11.0

README

The Microsoft.EntityFrameworkCore.Proxies package contains implementations of dynamic proxies for lazy-loading and/or change-tracking.

Usage

Call UseLazyLoadingProxies when configuring your DbContext to enable lazy-loading proxies. For example:

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    => optionsBuilder.UseLazyLoadingProxies();

Call UseChangeTrackingProxies when configuring your DbContext to enable change-tracking proxies. For example:

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    => optionsBuilder.UseChangeTrackingProxies();

Call both methods for proxies that implement both lazy-loading and change-tracking. For example:

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    => optionsBuilder
        .UseLazyLoadingProxies()
        .UseChangeTrackingProxies();

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.

Changes from Previous Version

No structural changes between v11.0.0-rc.1.26425.128 and v11.0.0-rc.2.26504.105.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.