KeyExtensions.IsPrimaryKey(IKey) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value indicating whether the key is the primary key.
public static bool IsPrimaryKey (this Microsoft.EntityFrameworkCore.Metadata.IKey key);
static member IsPrimaryKey : Microsoft.EntityFrameworkCore.Metadata.IKey -> bool
<Extension()>
Public Function IsPrimaryKey (key As IKey) As Boolean
Parameters
- key
- IKey
The key to find whether it is primary.
Returns
true
if the key is the primary key.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework