Table of Contents

Class DbContextPoolConfigurationSnapshot

Namespace
Microsoft.EntityFrameworkCore.Internal
Assembly
Microsoft.EntityFrameworkCore.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public sealed class DbContextPoolConfigurationSnapshot
Inheritance
DbContextPoolConfigurationSnapshot
Inherited Members

Constructors

DbContextPoolConfigurationSnapshot(bool, bool, bool, bool, bool, QueryTrackingBehavior?, AutoTransactionBehavior, bool, bool, CascadeTiming, CascadeTiming, EventHandler<SavingChangesEventArgs>?, EventHandler<SavedChangesEventArgs>?, EventHandler<SaveChangesFailedEventArgs>?, EventHandler<EntityTrackingEventArgs>?, EventHandler<EntityTrackedEventArgs>?, EventHandler<EntityStateChangingEventArgs>?, EventHandler<EntityStateChangedEventArgs>?, EventHandler<DetectChangesEventArgs>?, EventHandler<DetectedChangesEventArgs>?, EventHandler<DetectEntityChangesEventArgs>?, EventHandler<DetectedEntityChangesEventArgs>?)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public DbContextPoolConfigurationSnapshot(bool hasDatabaseConfiguration, bool hasStateManagerConfiguration, bool hasChangeTrackerConfiguration, bool hasChangeDetectorConfiguration, bool autoDetectChangesEnabled, QueryTrackingBehavior? queryTrackingBehavior, AutoTransactionBehavior autoTransactionBehavior, bool autoSavepointsEnabled, bool lazyLoadingEnabled, CascadeTiming cascadeDeleteTiming, CascadeTiming deleteOrphansTiming, EventHandler<SavingChangesEventArgs>? savingChanges, EventHandler<SavedChangesEventArgs>? savedChanges, EventHandler<SaveChangesFailedEventArgs>? saveChangesFailed, EventHandler<EntityTrackingEventArgs>? tracking, EventHandler<EntityTrackedEventArgs>? tracked, EventHandler<EntityStateChangingEventArgs>? stateChanging, EventHandler<EntityStateChangedEventArgs>? stateChanged, EventHandler<DetectChangesEventArgs>? detectingAllChanges, EventHandler<DetectedChangesEventArgs>? detectedAllChanges, EventHandler<DetectEntityChangesEventArgs>? detectingEntityChanges, EventHandler<DetectedEntityChangesEventArgs>? detectedEntityChanges)

Parameters

hasDatabaseConfiguration bool
hasStateManagerConfiguration bool
hasChangeTrackerConfiguration bool
hasChangeDetectorConfiguration bool
autoDetectChangesEnabled bool
queryTrackingBehavior QueryTrackingBehavior?
autoTransactionBehavior AutoTransactionBehavior
autoSavepointsEnabled bool
lazyLoadingEnabled bool
cascadeDeleteTiming CascadeTiming
deleteOrphansTiming CascadeTiming
savingChanges EventHandler<SavingChangesEventArgs>
savedChanges EventHandler<SavedChangesEventArgs>
saveChangesFailed EventHandler<SaveChangesFailedEventArgs>
tracking EventHandler<EntityTrackingEventArgs>
tracked EventHandler<EntityTrackedEventArgs>
stateChanging EventHandler<EntityStateChangingEventArgs>
stateChanged EventHandler<EntityStateChangedEventArgs>
detectingAllChanges EventHandler<DetectChangesEventArgs>
detectedAllChanges EventHandler<DetectedChangesEventArgs>
detectingEntityChanges EventHandler<DetectEntityChangesEventArgs>
detectedEntityChanges EventHandler<DetectedEntityChangesEventArgs>

Properties

AutoDetectChangesEnabled

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public bool AutoDetectChangesEnabled { get; }

Property Value

bool

AutoSavepointsEnabled

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public bool AutoSavepointsEnabled { get; }

Property Value

bool

AutoTransactionBehavior

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public AutoTransactionBehavior AutoTransactionBehavior { get; }

Property Value

AutoTransactionBehavior

CascadeDeleteTiming

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public CascadeTiming CascadeDeleteTiming { get; }

Property Value

CascadeTiming

DeleteOrphansTiming

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public CascadeTiming DeleteOrphansTiming { get; }

Property Value

CascadeTiming

DetectedAllChanges

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<DetectedChangesEventArgs>? DetectedAllChanges { get; }

Property Value

EventHandler<DetectedChangesEventArgs>

DetectedEntityChanges

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<DetectedEntityChangesEventArgs>? DetectedEntityChanges { get; }

Property Value

EventHandler<DetectedEntityChangesEventArgs>

DetectingAllChanges

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<DetectChangesEventArgs>? DetectingAllChanges { get; }

Property Value

EventHandler<DetectChangesEventArgs>

DetectingEntityChanges

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<DetectEntityChangesEventArgs>? DetectingEntityChanges { get; }

Property Value

EventHandler<DetectEntityChangesEventArgs>

HasChangeDetectorConfiguration

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public bool HasChangeDetectorConfiguration { get; }

Property Value

bool

HasChangeTrackerConfiguration

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public bool HasChangeTrackerConfiguration { get; }

Property Value

bool

HasDatabaseConfiguration

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public bool HasDatabaseConfiguration { get; }

Property Value

bool

HasStateManagerConfiguration

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public bool HasStateManagerConfiguration { get; }

Property Value

bool

LazyLoadingEnabled

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public bool LazyLoadingEnabled { get; }

Property Value

bool

QueryTrackingBehavior

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public QueryTrackingBehavior? QueryTrackingBehavior { get; }

Property Value

QueryTrackingBehavior?

SaveChangesFailed

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<SaveChangesFailedEventArgs>? SaveChangesFailed { get; }

Property Value

EventHandler<SaveChangesFailedEventArgs>

SavedChanges

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<SavedChangesEventArgs>? SavedChanges { get; }

Property Value

EventHandler<SavedChangesEventArgs>

SavingChanges

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<SavingChangesEventArgs>? SavingChanges { get; }

Property Value

EventHandler<SavingChangesEventArgs>

StateChanged

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<EntityStateChangedEventArgs>? StateChanged { get; }

Property Value

EventHandler<EntityStateChangedEventArgs>

StateChanging

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<EntityStateChangingEventArgs>? StateChanging { get; }

Property Value

EventHandler<EntityStateChangingEventArgs>

Tracked

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<EntityTrackedEventArgs>? Tracked { get; }

Property Value

EventHandler<EntityTrackedEventArgs>

Tracking

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public EventHandler<EntityTrackingEventArgs>? Tracking { get; }

Property Value

EventHandler<EntityTrackingEventArgs>