Share via


ForeignKeyOperation.PrincipalTable Property

Definition

Gets or sets the name of the table that the foreign key constraint targets.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.

public string PrincipalTable { get; set; }
member this.PrincipalTable : string with get, set
Public Property PrincipalTable As String

Property Value

Applies to