CoreLoggerExtensions
AccidentalEntityType(IDiagnosticsLogger<Validation>, IEntityType)
AmbiguousEndRequiredWarning(IDiagnosticsLogger<Model>, IForeignKey)
CascadeDelete(IDiagnosticsLogger<Update>, InternalEntityEntry, InternalEntityEntry, EntityState)
CascadeDeleteOrphan(IDiagnosticsLogger<Update>, InternalEntityEntry, IEntityType, EntityState)
CascadeDeleteOrphanSensitive(IDiagnosticsLogger<Update>, InternalEntityEntry, IEntityType, EntityState)
CascadeDeleteSensitive(IDiagnosticsLogger<Update>, InternalEntityEntry, InternalEntityEntry, EntityState)
CollectionChangeDetected(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, INavigation, ISet<Object>, ISet<Object>)
CollectionChangeDetectedSensitive(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, INavigation, ISet<Object>, ISet<Object>)
CollectionWithoutComparer(IDiagnosticsLogger<Validation>, IProperty)
ConflictingForeignKeyAttributesOnNavigationAndPropertyWarning(IDiagnosticsLogger<Model>, IReadOnlyNavigation, MemberInfo)
ConflictingKeylessAndKeyAttributesWarning(IDiagnosticsLogger<Model>, IReadOnlyProperty)
ConflictingShadowForeignKeysWarning(IDiagnosticsLogger<Model>, IReadOnlyForeignKey)
ContextDisposed(IDiagnosticsLogger<Infrastructure>, DbContext)
ContextInitialized(IDiagnosticsLogger<Infrastructure>, DbContext, DbContextOptions)
DetachedLazyLoadingWarning(IDiagnosticsLogger<Infrastructure>, DbContext, Object, String)
DetectChangesCompleted(IDiagnosticsLogger<ChangeTracking>, DbContext)
DetectChangesStarting(IDiagnosticsLogger<ChangeTracking>, DbContext)
DistinctAfterOrderByWithoutRowLimitingOperatorWarning(IDiagnosticsLogger<Query>)
DuplicateDependentEntityTypeInstanceWarning(IDiagnosticsLogger<Update>, IEntityType, IEntityType)
ExecutionStrategyRetrying(IDiagnosticsLogger<Infrastructure>, IReadOnlyList<Exception>, TimeSpan, Boolean)
FirstWithoutOrderByAndFilterWarning(IDiagnosticsLogger<Query>)
ForeignKeyAttributesOnBothNavigationsWarning(IDiagnosticsLogger<Model>, IReadOnlyNavigation, IReadOnlyNavigation)
ForeignKeyAttributesOnBothPropertiesWarning(IDiagnosticsLogger<Model>, IReadOnlyNavigation, IReadOnlyNavigation, MemberInfo, MemberInfo)
ForeignKeyChangeDetected(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, IProperty, Object, Object)
ForeignKeyChangeDetectedSensitive(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, IProperty, Object, Object)
IncompatibleMatchingForeignKeyProperties(IDiagnosticsLogger<Model>, String, String, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)
InvalidIncludePathError(IDiagnosticsLogger<Query>, String, String)
LazyLoadOnDisposedContextWarning(IDiagnosticsLogger<Infrastructure>, DbContext, Object, String)
ManyServiceProvidersCreatedWarning(IDiagnosticsLogger<Infrastructure>, ICollection<IServiceProvider>)
MappedComplexPropertyIgnoredWarning(IDiagnosticsLogger<Model>, IComplexProperty)
MappedEntityTypeIgnoredWarning(IDiagnosticsLogger<Model>, IEntityType)
MappedNavigationIgnoredWarning(IDiagnosticsLogger<Model>, INavigationBase)
MappedPropertyIgnoredWarning(IDiagnosticsLogger<Model>, IProperty)
MultipleInversePropertiesSameTargetWarning(IDiagnosticsLogger<Model>, IEnumerable<Tuple<MemberInfo, Type>>, MemberInfo, Type)
MultipleNavigationProperties(IDiagnosticsLogger<Model>, IEnumerable<Tuple<MemberInfo, Type>>, IEnumerable<Tuple<MemberInfo, Type>>)
MultiplePrimaryKeyCandidates(IDiagnosticsLogger<Model>, IReadOnlyProperty, IReadOnlyProperty)
NavigationBaseIncluded(IDiagnosticsLogger<Query>, INavigationBase)
NavigationBaseIncludeIgnored(IDiagnosticsLogger<Query>, INavigationBase)
NavigationLazyLoading(IDiagnosticsLogger<Infrastructure>, DbContext, Object, String)
NoEntityTypeConfigurationsWarning(IDiagnosticsLogger<Model>, Assembly)
NonOwnershipInverseNavigationWarning(IDiagnosticsLogger<Model>, IReadOnlyEntityType, MemberInfo, IReadOnlyEntityType, MemberInfo, MemberInfo)
OldModelVersionWarning(IDiagnosticsLogger<Infrastructure>, DbContext, DbContextOptions)
OptimisticConcurrencyException(IDiagnosticsLogger<Update>, DbContext, IReadOnlyList<IUpdateEntry>, DbUpdateConcurrencyException, Func<DbContext, DbUpdateConcurrencyException, IReadOnlyList<IUpdateEntry>, EventDefinition<Exception>, ConcurrencyExceptionEventData>)
OptimisticConcurrencyExceptionAsync(IDiagnosticsLogger<Update>, DbContext, IReadOnlyList<IUpdateEntry>, DbUpdateConcurrencyException, Func<DbContext, DbUpdateConcurrencyException, IReadOnlyList<IUpdateEntry>, EventDefinition<Exception>, ConcurrencyExceptionEventData>, CancellationToken)
PossibleIncorrectRequiredNavigationWithQueryFilterInteractionWarning(IDiagnosticsLogger<Validation>, IForeignKey)
PossibleUnintendedCollectionNavigationNullComparisonWarning(IDiagnosticsLogger<Query>, INavigation)
PossibleUnintendedReferenceComparisonWarning(IDiagnosticsLogger<Query>, Expression, Expression)
PropertyChangeDetected(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, IProperty, Object, Object)
PropertyChangeDetectedSensitive(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, IProperty, Object, Object)
QueryCanceled(IDiagnosticsLogger<Query>, Type)
QueryCompilationStarting(IDiagnosticsLogger<Query>, DbContext, ExpressionPrinter, Expression)
QueryExecutionPlanned(IDiagnosticsLogger<Query>, DbContext, ExpressionPrinter, Expression)
QueryIterationFailed(IDiagnosticsLogger<Query>, Type, Exception)
RedundantAddServicesCallWarning(IDiagnosticsLogger<Infrastructure>, IServiceProvider)
RedundantForeignKeyWarning(IDiagnosticsLogger<Validation>, IForeignKey)
RedundantIndexRemoved(IDiagnosticsLogger<Model>, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)
ReferenceChangeDetected(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, INavigation, Object, Object)
ReferenceChangeDetectedSensitive(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, INavigation, Object, Object)
RequiredAttributeOnCollection(IDiagnosticsLogger<Model>, IReadOnlyNavigation)
RequiredAttributeOnSkipNavigation(IDiagnosticsLogger<Model>, IReadOnlySkipNavigation)
RowLimitingOperationWithoutOrderByWarning(IDiagnosticsLogger<Query>)
SaveChangesCanceled(IDiagnosticsLogger<Update>, DbContext)
SaveChangesCanceledAsync(IDiagnosticsLogger<Update>, DbContext, CancellationToken)
SaveChangesCompleted(IDiagnosticsLogger<Update>, DbContext, Int32)
SaveChangesCompletedAsync(IDiagnosticsLogger<Update>, DbContext, Int32, CancellationToken)
SaveChangesFailed(IDiagnosticsLogger<Update>, DbContext, Exception)
SaveChangesFailedAsync(IDiagnosticsLogger<Update>, DbContext, Exception, CancellationToken)
SaveChangesStarting(IDiagnosticsLogger<Update>, DbContext)
SaveChangesStartingAsync(IDiagnosticsLogger<Update>, DbContext, CancellationToken)
SensitiveDataLoggingEnabledWarning<TLoggerCategory>(IDiagnosticsLogger<TLoggerCategory>)
ServiceProviderCreated(IDiagnosticsLogger<Infrastructure>, IServiceProvider)
ServiceProviderDebugInfo(IDiagnosticsLogger<Infrastructure>, IDictionary<String, String>, IList<IDictionary<String, String>>)
ShadowForeignKeyPropertyCreated(IDiagnosticsLogger<Validation>, IProperty, String)
ShadowPropertyCreated(IDiagnosticsLogger<Validation>, IProperty)
SkipCollectionChangeDetected(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, ISkipNavigation, ISet<Object>, ISet<Object>)
SkipCollectionChangeDetectedSensitive(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, ISkipNavigation, ISet<Object>, ISet<Object>)
SkippedEntityTypeConfigurationWarning(IDiagnosticsLogger<Model>, Type)
StartedTracking(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry)
StartedTrackingSensitive(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry)
StateChanged(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, EntityState, EntityState)
StateChangedSensitive(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, EntityState, EntityState)
StringEnumValueInJson(IDiagnosticsLogger<Query>, Type)
TypeLoadingErrorWarning(IDiagnosticsLogger<Model>, Assembly, Exception)
ValueGenerated(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, IProperty, Object, Boolean)
ValueGeneratedSensitive(IDiagnosticsLogger<ChangeTracking>, InternalEntityEntry, IProperty, Object, Boolean)
net10.0-windows7.0
namespace Microsoft.EntityFrameworkCore.Diagnostics
{
public static class CoreLoggerExtensions
{
public static void RedundantIndexRemoved(this IDiagnosticsLogger<Model!>! diagnostics, IReadOnlyList<IReadOnlyPropertyBase!>! redundantIndex, IReadOnlyList<IReadOnlyPropertyBase!>! otherIndex);
}
}
.NET | 8.09.010.0 |
---|---|
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.EntityFrameworkCore , Version=9.0.3.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.EntityFrameworkCore (9.0.3) net8.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API