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