共用方式為


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

傳回

適用於