语言

CoreStrings.RelationshipConceptualNullSensitive 方法

定义

实体“{firstType}”和“{secondType}”与键值“{secondKeyValue}”之间的关联已被切断,但关系被标记为必需或隐式必需,因为外键不可为 null。 如果在切断所需关系时应删除依赖/子实体,请将关系配置为使用级联删除。 如果将依赖项移动到其他主体,请考虑设置“上下文”。ChangeTracker.DeleteOrphansTiming',有关详细信息,请参阅 https://aka.ms/efcore-docs-changing-relationships 。

public static string RelationshipConceptualNullSensitive(object? firstType, object? secondType, object? secondKeyValue);
public static string RelationshipConceptualNullSensitive(object firstType, object secondType, object secondKeyValue);
static member RelationshipConceptualNullSensitive : obj * obj * obj -> string
Public Shared Function RelationshipConceptualNullSensitive (firstType As Object, secondType As Object, secondKeyValue As Object) As String

参数

firstType
Object
secondType
Object
secondKeyValue
Object

返回

适用于