Aracılığıyla paylaş


PropertyExtensions.FindPrincipals(IProperty) Yöntem

Tanım

Dikkat

Use IReadOnlyProperty.GetPrincipals

Verilen özellik bir yabancı anahtarın parçasıysa, verilen özelliğin kısıtladığı verilen özelliği de içeren asıl özelliklerin listesini bulur.

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> FindPrincipals (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use IReadOnlyProperty.GetPrincipals")]
public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> FindPrincipals (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member FindPrincipals : Microsoft.EntityFrameworkCore.Metadata.IProperty -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
[<System.Obsolete("Use IReadOnlyProperty.GetPrincipals")>]
static member FindPrincipals : Microsoft.EntityFrameworkCore.Metadata.IProperty -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
<Extension()>
Public Function FindPrincipals (property As IProperty) As IReadOnlyList(Of IProperty)

Parametreler

property
IProperty

Yabancı anahtar özelliği.

Döndürülenler

Verilen özellik de dahil olmak üzere ilişkili tüm asıl özelliklerin listesi.

Öznitelikler

Şunlara uygulanır