Share via


PrimaryKeyOperation.Columns Property

Definition

Gets the column(s) that make up the primary key.

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 System.Collections.Generic.IList<string> Columns { get; }
member this.Columns : System.Collections.Generic.IList<string>
Public ReadOnly Property Columns As IList(Of String)

Property Value

Applies to