語言

CoreStrings.KeyPropertyInForeignKey(Object, Object) 方法

定義

屬性 '{property}' 不能成為 '{entityType}' 鍵的一部分,因為它啟用了值產生功能,且包含在衍生實體類型上定義的外鍵中。

public static string KeyPropertyInForeignKey(object property, object entityType);
static member KeyPropertyInForeignKey : obj * obj -> string
Public Shared Function KeyPropertyInForeignKey (property As Object, entityType As Object) As String

參數

property
Object
entityType
Object

傳回

適用於