CoreStrings.CompositeFkOnProperty(Object, Object) 方法

定义

[ForeignKey] 属性指向导航“{1_entityType}”有多个属性。{0_navigation}”。 若要使用数据注释定义复合外键,请在导航上使用 [ForeignKey] 属性。

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

参数

navigation
Object
entityType
Object

返回

适用于