AddForeignKeyOperation.PrincipalColumns Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ordered-list of column names for the columns to which the columns that make up this foreign key are constrained, or
null
to constrain to the primary key columns.
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()
Property Value
String[]
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework