CoreStrings.NavigationNotAdded(Object, Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
無法判斷由導航 '{entityType} 所代表的關係。{navigation}' 型別為 '{propertyType}''。 你可以手動設定這個關係,或是用 '[NotMapped]' 屬性,或在 'OnModelCreating' 裡用「EntityTypeBuilder.Ignore' 忽略這個屬性。
public static string NavigationNotAdded(object? entityType, object? navigation, object? propertyType);
public static string NavigationNotAdded(object entityType, object navigation, object propertyType);
static member NavigationNotAdded : obj * obj * obj -> string
Public Shared Function NavigationNotAdded (entityType As Object, navigation As Object, propertyType As Object) As String
參數
- entityType
- Object
- navigation
- Object
- propertyType
- Object