CoreStrings.RelationshipConceptualNull(Object, Object) 方法

定义

实体类型“{firstType}”和“{secondType}”之间的关联已断开,但关系被标记为必需或隐式必需,因为外键不可为 null。 如果在切断所需关系时应删除依赖实体/子实体,请将关系配置为使用级联删除。 请考虑使用“DbContextOptionsBuilder.EnableSensitiveDataLogging”查看键值。

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

参数

firstType
Object
secondType
Object

返回

适用于