CoreStrings.ForeignKeyPropertyInKey(Object, Object, Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
屬性 '{property}' 不能是 '{entityType}'' 外鍵的一部分,因為它是儲存產生的值,且包含在定義於基礎實體類型 '{baseEntityType}'' 上的鍵 {keyProperties} 中。 將 '{property}' 設定為 'ValueGeneratedNever',或改為在 '{entityType}' 上定義外鍵。
public static string ForeignKeyPropertyInKey(object? property, object? entityType, object? keyProperties, object? baseEntityType);
public static string ForeignKeyPropertyInKey(object property, object entityType, object key, object baseEntityType);
public static string ForeignKeyPropertyInKey(object property, object entityType, object keyProperties, object baseEntityType);
static member ForeignKeyPropertyInKey : obj * obj * obj * obj -> string
static member ForeignKeyPropertyInKey : obj * obj * obj * obj -> string
Public Shared Function ForeignKeyPropertyInKey (property As Object, entityType As Object, keyProperties As Object, baseEntityType As Object) As String
Public Shared Function ForeignKeyPropertyInKey (property As Object, entityType As Object, key As Object, baseEntityType As Object) As String
參數
- property
- Object
- entityType
- Object
- keyPropertieskey
- Object
- baseEntityType
- Object