Delen via


ITable.PrimaryKey Property

Definition

Gets the primary key for this table.

public Microsoft.EntityFrameworkCore.Metadata.IPrimaryKeyConstraint PrimaryKey { get; }
public Microsoft.EntityFrameworkCore.Metadata.IPrimaryKeyConstraint? PrimaryKey { get; }
member this.PrimaryKey : Microsoft.EntityFrameworkCore.Metadata.IPrimaryKeyConstraint
Public ReadOnly Property PrimaryKey As IPrimaryKeyConstraint

Property Value

Applies to