CoreLoggerExtensions Klasse

Definition

Diese Klasse enthält statische Methoden, die von EF Core-Internen und Datenbankanbietern zum Schreiben von Informationen in ein ILogger und für DiagnosticListener bekannte Ereignisse verwendet werden.

Dieser Typ wird in der Regel von Datenbankanbietern (und anderen Erweiterungen) verwendet. Es wird im Allgemeinen nicht im Anwendungscode verwendet.

public static class CoreLoggerExtensions
type CoreLoggerExtensions = class
Public Module CoreLoggerExtensions
Vererbung
CoreLoggerExtensions

Hinweise

Weitere Informationen und Beispiele finden Sie unter Implementierung von Datenbankanbietern und -erweiterungen .

Methoden

AmbiguousEndRequiredWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IForeignKey)

Protokolle für das AmbiguousEndRequiredWarning Ereignis.

CascadeDelete(IDiagnosticsLogger<DbLoggerCategory.Update>, InternalEntityEntry, InternalEntityEntry, EntityState)

Protokolle für das CascadeDelete Ereignis.

CascadeDeleteOrphan(IDiagnosticsLogger<DbLoggerCategory.Update>, InternalEntityEntry, IEntityType, EntityState)

Protokolle für das CascadeDeleteOrphan Ereignis.

CascadeDeleteOrphanSensitive(IDiagnosticsLogger<DbLoggerCategory.Update>, InternalEntityEntry, IEntityType, EntityState)

Protokolle für das CascadeDeleteOrphan Ereignis.

CascadeDeleteSensitive(IDiagnosticsLogger<DbLoggerCategory.Update>, InternalEntityEntry, InternalEntityEntry, EntityState)

Protokolle für das CascadeDelete Ereignis.

CollectionChangeDetected(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, INavigation, ISet<Object>, ISet<Object>)

Protokolle für das CollectionChangeDetected Ereignis.

CollectionChangeDetectedSensitive(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, INavigation, ISet<Object>, ISet<Object>)

Protokolle für das CollectionChangeDetected Ereignis.

CollectionWithoutComparer(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IProperty)

Protokolle für das CollectionWithoutComparer Ereignis.

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, MemberInfo)

Protokolle für das ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning Ereignis.

ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, MemberInfo)

Protokolle für das ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning Ereignis.

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)

Protokolle für das ConflictingKeylessAndKeyAttributesWarning Ereignis.

ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty)

Protokolle für das ConflictingKeylessAndKeyAttributesWarning Ereignis.

ConflictingShadowForeignKeysWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IForeignKey)

Protokolle für das ConflictingShadowForeignKeysWarning Ereignis.

ConflictingShadowForeignKeysWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyForeignKey)

Protokolle für das ConflictingShadowForeignKeysWarning Ereignis.

ContextDisposed(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, DbContext)

Protokolle für das ContextDisposed Ereignis.

ContextInitialized(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, DbContext, DbContextOptions)

Protokolle für das ContextInitialized Ereignis.

DetachedLazyLoadingWarning(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, DbContext, Object, String)

Protokolle für das DetachedLazyLoadingWarning Ereignis.

DetectChangesCompleted(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, DbContext)

Protokolle für das DetectChangesCompleted Ereignis.

DetectChangesStarting(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, DbContext)

Protokolle für das DetectChangesStarting Ereignis.

DistinctAfterOrderByWithoutRowLimitingOperatorWarning(IDiagnosticsLogger<DbLoggerCategory.Query>)

Protokolle für das DistinctAfterOrderByWithoutRowLimitingOperatorWarning Ereignis.

DuplicateDependentEntityTypeInstanceWarning(IDiagnosticsLogger<DbLoggerCategory.Update>, IEntityType, IEntityType)

Protokolle für das DuplicateDependentEntityTypeInstanceWarning Ereignis.

ExecutionStrategyRetrying(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, IReadOnlyList<Exception>, TimeSpan, Boolean)

Protokolle für das ExecutionStrategyRetrying Ereignis.

FirstWithoutOrderByAndFilterWarning(IDiagnosticsLogger<DbLoggerCategory.Query>)

Protokolle für das FirstWithoutOrderByAndFilterWarning Ereignis.

ForeignKeyAttributesOnBothNavigationsWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, INavigation)

Protokolle für das ForeignKeyAttributesOnBothNavigationsWarning Ereignis.

ForeignKeyAttributesOnBothNavigationsWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, IReadOnlyNavigation)

Protokolle für das ForeignKeyAttributesOnBothNavigationsWarning Ereignis.

ForeignKeyAttributesOnBothPropertiesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, INavigation, MemberInfo, MemberInfo)

Protokolle für das ForeignKeyAttributesOnBothPropertiesWarning Ereignis.

ForeignKeyAttributesOnBothPropertiesWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, IReadOnlyNavigation, MemberInfo, MemberInfo)

Protokolle für das ForeignKeyAttributesOnBothPropertiesWarning Ereignis.

ForeignKeyChangeDetected(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, IProperty, Object, Object)

Protokolle für das ForeignKeyChangeDetected Ereignis.

ForeignKeyChangeDetectedSensitive(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, IProperty, Object, Object)

Protokolle für das ForeignKeyChangeDetected Ereignis.

IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)

Protokolle für das IncompatibleMatchingForeignKeyProperties Ereignis.

IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, String, String, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)

Protokolle für das IncompatibleMatchingForeignKeyProperties Ereignis.

IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, String, String, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)

Protokolle für das IncompatibleMatchingForeignKeyProperties Ereignis.

InvalidIncludePathError(IDiagnosticsLogger<DbLoggerCategory.Query>, String, String)

Protokolle für das InvalidIncludePathError Ereignis.

LazyLoadOnDisposedContextWarning(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, DbContext, Object, String)

Protokolle für das LazyLoadOnDisposedContextWarning Ereignis.

ManyServiceProvidersCreatedWarning(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, ICollection<IServiceProvider>)

Protokolle für das ManyServiceProvidersCreatedWarning Ereignis.

MappedComplexPropertyIgnoredWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IComplexProperty)

Protokolle für das MappedComplexPropertyIgnoredWarning Ereignis.

MappedEntityTypeIgnoredWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IEntityType)

Protokolle für das MappedEntityTypeIgnoredWarning Ereignis.

MappedNavigationIgnoredWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigationBase)

Protokolle für das MappedNavigationIgnoredWarning Ereignis.

MappedPropertyIgnoredWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty)

Protokolle für das MappedPropertyIgnoredWarning Ereignis.

MultipleInversePropertiesSameTargetWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IEnumerable<Tuple<MemberInfo,Type>>, MemberInfo, Type)

Protokolle für das MultipleInversePropertiesSameTargetWarning Ereignis.

MultipleNavigationProperties(IDiagnosticsLogger<DbLoggerCategory.Model>, IEnumerable<Tuple<MemberInfo,Type>>, IEnumerable<Tuple<MemberInfo,Type>>)

Protokolle für das MultipleNavigationProperties Ereignis.

MultiplePrimaryKeyCandidates(IDiagnosticsLogger<DbLoggerCategory.Model>, IProperty, IProperty)

Protokolle für das MultiplePrimaryKeyCandidates Ereignis.

MultiplePrimaryKeyCandidates(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyProperty, IReadOnlyProperty)

Protokolle für das MultiplePrimaryKeyCandidates Ereignis.

NavigationBaseIncluded(IDiagnosticsLogger<DbLoggerCategory.Query>, INavigationBase)

Protokolle für das NavigationBaseIncluded Ereignis.

NavigationBaseIncludeIgnored(IDiagnosticsLogger<DbLoggerCategory.Query>, INavigationBase)

Protokolle für das NavigationBaseIncludeIgnored Ereignis.

NavigationLazyLoading(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, DbContext, Object, String)

Protokolle für das NavigationLazyLoading Ereignis.

NonDefiningInverseNavigationWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IEntityType, MemberInfo, IEntityType, MemberInfo, MemberInfo)
Veraltet..

Protokolle für das NonDefiningInverseNavigationWarning Ereignis.

NonNullableInverted(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)
Veraltet..

Protokolle für das NonNullableInverted Ereignis.

NonNullableReferenceOnBothNavigations(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, INavigation)
Veraltet..

Protokolle für das NonNullableReferenceOnBothNavigations Ereignis.

NonNullableReferenceOnBothNavigations(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, IReadOnlyNavigation)
Veraltet..

Protokolle für das NonNullableReferenceOnBothNavigations Ereignis.

NonNullableReferenceOnDependent(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)
Veraltet..

Protokolle für das NonNullableReferenceOnDependent Ereignis.

NonOwnershipInverseNavigationWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IEntityType, MemberInfo, IEntityType, MemberInfo, MemberInfo)

Protokolle für das NonOwnershipInverseNavigationWarning Ereignis.

NonOwnershipInverseNavigationWarning(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyEntityType, MemberInfo, IReadOnlyEntityType, MemberInfo, MemberInfo)

Protokolle für das NonOwnershipInverseNavigationWarning Ereignis.

OldModelVersionWarning(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, DbContext, DbContextOptions)

Protokolle für das OldModelVersionWarning Ereignis.

OptimisticConcurrencyException(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext, Exception)

Protokolle für das OptimisticConcurrencyException Ereignis.

OptimisticConcurrencyException(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext, IReadOnlyList<IUpdateEntry>, DbUpdateConcurrencyException, Func<DbContext,DbUpdateConcurrencyException,IReadOnlyList<IUpdateEntry>, EventDefinition<Exception>,ConcurrencyExceptionEventData>)

Protokolle für das OptimisticConcurrencyException Ereignis.

OptimisticConcurrencyExceptionAsync(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext, Exception, CancellationToken)

Protokolle für das OptimisticConcurrencyException Ereignis.

OptimisticConcurrencyExceptionAsync(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext, IReadOnlyList<IUpdateEntry>, DbUpdateConcurrencyException, Func<DbContext,DbUpdateConcurrencyException,IReadOnlyList<IUpdateEntry>, EventDefinition<Exception>,ConcurrencyExceptionEventData>, CancellationToken)

Protokolle für das OptimisticConcurrencyException Ereignis.

PossibleIncorrectRequiredNavigationWithQueryFilterInteractionWarning(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IForeignKey)

Protokolle für das PossibleIncorrectRequiredNavigationWithQueryFilterInteractionWarning Ereignis.

PossibleUnintendedCollectionNavigationNullComparisonWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, INavigation)

Protokolle für das PossibleUnintendedCollectionNavigationNullComparisonWarning Ereignis.

PossibleUnintendedReferenceComparisonWarning(IDiagnosticsLogger<DbLoggerCategory.Query>, Expression, Expression)

Protokolle für das PossibleUnintendedReferenceComparisonWarning Ereignis.

PropertyChangeDetected(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, IProperty, Object, Object)

Protokolle für das PropertyChangeDetected Ereignis.

PropertyChangeDetectedSensitive(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, IProperty, Object, Object)

Protokolle für das PropertyChangeDetected Ereignis.

QueryCanceled(IDiagnosticsLogger<DbLoggerCategory.Query>, Type)

Protokolle für das QueryCanceled Ereignis.

QueryCompilationStarting(IDiagnosticsLogger<DbLoggerCategory.Query>, DbContext, ExpressionPrinter, Expression)

Protokolle für das QueryCompilationStarting Ereignis.

QueryCompilationStarting(IDiagnosticsLogger<DbLoggerCategory.Query>, ExpressionPrinter, Expression)

Protokolle für das QueryCompilationStarting Ereignis.

QueryExecutionPlanned(IDiagnosticsLogger<DbLoggerCategory.Query>, DbContext, ExpressionPrinter, Expression)

Protokolle für das QueryExecutionPlanned Ereignis.

QueryExecutionPlanned(IDiagnosticsLogger<DbLoggerCategory.Query>, ExpressionPrinter, Expression)

Protokolle für das QueryExecutionPlanned Ereignis.

QueryIterationFailed(IDiagnosticsLogger<DbLoggerCategory.Query>, Type, Exception)

Protokolle für das QueryIterationFailed Ereignis.

RedundantAddServicesCallWarning(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, IServiceProvider)

Protokolle für das RedundantAddServicesCallWarning Ereignis.

RedundantForeignKeyWarning(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IForeignKey)

Protokolle für das RedundantForeignKeyWarning Ereignis.

RedundantIndexRemoved(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)

Protokolle für das RedundantIndexRemoved Ereignis.

RedundantIndexRemoved(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)

Protokolle für das RedundantIndexRemoved Ereignis.

ReferenceChangeDetected(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, INavigation, Object, Object)

Protokolle für das ReferenceChangeDetected Ereignis.

ReferenceChangeDetectedSensitive(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, INavigation, Object, Object)

Protokolle für das ReferenceChangeDetected Ereignis.

RequiredAttributeInverted(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)
Veraltet..

Protokolle für das RequiredAttributeInverted Ereignis.

RequiredAttributeOnBothNavigations(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation, INavigation)
Veraltet..

Protokolle für das RequiredAttributeOnBothNavigations Ereignis.

RequiredAttributeOnBothNavigations(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation, IReadOnlyNavigation)
Veraltet..

Protokolle für das RequiredAttributeOnBothNavigations Ereignis.

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)

Protokolle für das RequiredAttributeOnCollection Ereignis.

RequiredAttributeOnCollection(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlyNavigation)

Protokolle für das RequiredAttributeOnCollection Ereignis.

RequiredAttributeOnDependent(IDiagnosticsLogger<DbLoggerCategory.Model>, INavigation)
Veraltet..

Protokolle für das RequiredAttributeOnDependent Ereignis.

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, IReadOnlySkipNavigation)

Protokolle für das RequiredAttributeOnSkipNavigation Ereignis.

RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<DbLoggerCategory.Model>, ISkipNavigation)

Protokolle für das RequiredAttributeOnSkipNavigation Ereignis.

RowLimitingOperationWithoutOrderByWarning(IDiagnosticsLogger<DbLoggerCategory.Query>)

Protokolle für das RowLimitingOperationWithoutOrderByWarning Ereignis.

SaveChangesCanceled(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext)

Protokolle für das SaveChangesFailed Ereignis.

SaveChangesCanceledAsync(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext, CancellationToken)

Protokolle für das SaveChangesFailed Ereignis.

SaveChangesCompleted(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext, Int32)

Protokolle für das SaveChangesCompleted Ereignis.

SaveChangesCompletedAsync(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext, Int32, CancellationToken)

Protokolle für das SaveChangesCompleted Ereignis.

SaveChangesFailed(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext, Exception)

Protokolle für das SaveChangesFailed Ereignis.

SaveChangesFailedAsync(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext, Exception, CancellationToken)

Protokolle für das SaveChangesFailed Ereignis.

SaveChangesStarting(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext)

Protokolle für das SaveChangesStarting Ereignis.

SaveChangesStartingAsync(IDiagnosticsLogger<DbLoggerCategory.Update>, DbContext, CancellationToken)

Protokolle für das SaveChangesStarting Ereignis.

SensitiveDataLoggingEnabledWarning<TLoggerCategory>(IDiagnosticsLogger<TLoggerCategory>)

Protokolle für das SensitiveDataLoggingEnabledWarning Ereignis.

ServiceProviderCreated(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, IServiceProvider)

Protokolle für das ServiceProviderCreated Ereignis.

ServiceProviderDebugInfo(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>, IDictionary<String,String>, IList<IDictionary<String,String>>)

Protokolle für das ServiceProviderDebugInfo Ereignis.

ShadowForeignKeyPropertyCreated(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IProperty, String)

Protokolle für das ShadowForeignKeyPropertyCreated Ereignis.

ShadowPropertyCreated(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IProperty)

Protokolle für das ShadowPropertyCreated Ereignis.

SkipCollectionChangeDetected(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, ISkipNavigation, ISet<Object>, ISet<Object>)

Protokolle für das CollectionChangeDetected Ereignis.

SkipCollectionChangeDetectedSensitive(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, ISkipNavigation, ISet<Object>, ISet<Object>)

Protokolle für das CollectionChangeDetected Ereignis.

StartedTracking(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry)

Protokolle für das StartedTracking Ereignis.

StartedTrackingSensitive(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry)

Protokolle für das StartedTracking Ereignis.

StateChanged(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, EntityState, EntityState)

Protokolle für das StateChanged Ereignis.

StateChangedSensitive(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, EntityState, EntityState)

Protokolle für das StateChanged Ereignis.

StringEnumValueInJson(IDiagnosticsLogger<DbLoggerCategory.Query>, Type)

Protokolle für das StringEnumValueInJson Ereignis.

ValueGenerated(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, IProperty, Object, Boolean)

Protokolle für das ValueGenerated Ereignis.

ValueGeneratedSensitive(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>, InternalEntityEntry, IProperty, Object, Boolean)

Protokolle für das ValueGenerated Ereignis.

Gilt für: