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

返回

适用于