共用方式為


CoreStrings.SeedDatumNavigationSensitive 方法

定義

無法新增具有索引鍵值 '{keyValue}' 之實體類型 '{entityType}' 的種子實體,因為它已設定流覽 '{navigation}'。 若要植入關聯性,請將實體種子新增至 '{relatedEntityType}',並指定外鍵值 {foreignKeyProperties}。

public static string SeedDatumNavigationSensitive (object entityType, object keyValue, object navigation, object relatedEntityType, object foreignKeyProperties);
public static string SeedDatumNavigationSensitive (object? entityType, object? keyValue, object? navigation, object? relatedEntityType, object? foreignKeyProperties);
static member SeedDatumNavigationSensitive : obj * obj * obj * obj * obj -> string
Public Shared Function SeedDatumNavigationSensitive (entityType As Object, keyValue As Object, navigation As Object, relatedEntityType As Object, foreignKeyProperties As Object) As String

參數

entityType
Object
keyValue
Object
navigation
Object
relatedEntityType
Object
foreignKeyProperties
Object

傳回

適用於