Share via


IReadOnlyKey.IsPrimaryKey Method

Definition

Returns a value indicating whether the key is the primary key.

public virtual bool IsPrimaryKey ();
abstract member IsPrimaryKey : unit -> bool
override this.IsPrimaryKey : unit -> bool
Public Overridable Function IsPrimaryKey () As Boolean

Returns

true if the key is the primary key.

Applies to