CoreStrings.DuplicateDiscriminatorValue(Object, Object, Object) 方法

定义

“{entityType1}”的鉴别器值为“{discriminatorValue}”,这与“{entityType2}”相同。 层次结构中的每个具体实体类型都必须具有唯一的鉴别器值。

public static string DuplicateDiscriminatorValue (object entityType1, object discriminatorValue, object entityType2);
public static string DuplicateDiscriminatorValue (object? entityType1, object? discriminatorValue, object? entityType2);
static member DuplicateDiscriminatorValue : obj * obj * obj -> string
Public Shared Function DuplicateDiscriminatorValue (entityType1 As Object, discriminatorValue As Object, entityType2 As Object) As String

参数

entityType1
Object
discriminatorValue
Object
entityType2
Object

返回

适用于