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