RelationalPropertyExtensions.FindSharedTableRootPrimaryKeyProperty Method

Definition

Finds the IProperty that represents the same primary key property as the given property, but potentially in a shared root table.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public static Microsoft.EntityFrameworkCore.Metadata.IProperty FindSharedTableRootPrimaryKeyProperty (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member FindSharedTableRootPrimaryKeyProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IProperty
<Extension()>
Public Function FindSharedTableRootPrimaryKeyProperty (property As IProperty) As IProperty

Parameters

property
IProperty

The property.

Returns

The property found, or null if none was found.

Applies to