语言

CoreEventId.RedundantAddServicesCallWarning 字段

定义

在服务提供商上调用了“AddEntityFramework*”,但“UseInternalServiceProvider”不是。

public static readonly Microsoft.Extensions.Logging.EventId RedundantAddServicesCallWarning;
 staticval mutable RedundantAddServicesCallWarning : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly RedundantAddServicesCallWarning As EventId 

字段值

注解

此事件位于类别中 DbLoggerCategory.Infrastructure 。

此事件在与 a DiagnosticSource. 一起使用时使用ServiceProviderEventData有效负载。

适用于