AddForeignKeyOperation.PrincipalColumns 属性

定义

构成此外键的列受约束的列的列名的有序列表,或 null 约束为主键列。

public virtual string[] PrincipalColumns { get; set; }
public virtual string[]? PrincipalColumns { get; set; }
member this.PrincipalColumns : string[] with get, set
Public Overridable Property PrincipalColumns As String()

属性值

String[]

适用于