Skip to main content

IPrimaryKey<TPrimaryKey>

The IPrimaryKey<TPrimaryKey> interface defines a contract for objects that represent or can return their primary key.

Methods

NameDescription
GetPrimaryKey()Retrieves the primary key associated with the object.

Generic Types

NameDescription
TPrimaryKeyThe type of the primary key.