PropertyExtensions.FindFirstPrincipal(IProperty) Yöntem

Tanım

Verilen özellik yabancı anahtarın parçası ise, verilen özelliğin kısıtlanmış olduğu ilk asıl özelliği bulur.

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

Parametreler

property
IProperty

Yabancı anahtar özelliği.

Döndürülenler

IProperty

İlk ilişkili asıl özellik veya null yoksa.

Şunlara uygulanır