LazyLoader
LazyLoader(ICurrentDbContext, IDiagnosticsLogger<Infrastructure>)
Context
Logger
Attaching(DbContext, IEntityType, Object)
Detaching(DbContext, Object)
Dispose()
Injected(DbContext, Object, QueryTrackingBehavior?, ITypeBase)
IsLoaded(Object, String)
Load(Object, String)
LoadAsync(Object, CancellationToken, String)
SetLoaded(Object, String, Boolean)
net10.0
namespace Microsoft.EntityFrameworkCore.Infrastructure.Internal
{
public class LazyLoader : ILazyLoader, IInjectableService
{
[AsyncStateMachine(typeof(<LoadAsync>d__20))]
public virtual Task! LoadAsync(object! entity, CancellationToken cancellationToken = default, [CallerMemberName] string! navigationName = "");
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.EntityFrameworkCore , Version=10.0.2.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore (10.0.2) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API