Skip to content

FieldInfo.IsPrimaryKey property

namespace: Serenity.Data.Schema   assembly: Serenity.Net.Data

Gets or sets a value indicating whether the field is primary key.

public bool IsPrimaryKey { get; set; }

Property Value

true if the field is primary key; otherwise, false.

See Also