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
boolhasStateManagerConfiguration
boolhasChangeTrackerConfiguration
boolhasChangeDetectorConfiguration
boolautoDetectChangesEnabled
boolqueryTrackingBehavior
QueryTrackingBehavior?autoTransactionBehavior
AutoTransactionBehaviorautoSavepointsEnabled
boollazyLoadingEnabled
boolcascadeDeleteTiming
CascadeTimingdeleteOrphansTiming
CascadeTimingsavingChanges
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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; }