FieldInfo.IsPrimaryKey property

namespace: Serenity.Data.Schema   assemblySerenity.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