RelationalPropertyExtensions.FindSharedTableRootPrimaryKeyProperty 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.
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
Entity Framework