語言

CoreEventId.RequiredAttributeInverted 欄位

定義

警告

此 API 現已淘汰。

具有 的 具有 的 RequiredAttribute navigation 屬性實體類型被設定為關係中的依賴側。

此活動屬於該 DbLoggerCategory.Model 類別。

此事件在與 DiagnosticSource搭配 時會使用 payload 。NavigationEventData

public static readonly Microsoft.Extensions.Logging.EventId RequiredAttributeInverted;
[System.Obsolete]
public static readonly Microsoft.Extensions.Logging.EventId RequiredAttributeInverted;
 staticval mutable RequiredAttributeInverted : Microsoft.Extensions.Logging.EventId
[<System.Obsolete>]
 staticval mutable RequiredAttributeInverted : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly RequiredAttributeInverted As EventId 

欄位值

屬性

適用於