Skip to main content
net11.0

Lazy loading proxies for Entity Framework Core.

Published
Nov 10, 2026
13d ago
Total Downloads
120.7M
120,669,873

Install

dotnet add package Microsoft.EntityFrameworkCore.Proxies --version 11.0.0
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.3.26522.148 and v11.0.0.

Adoption Assessment

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

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.