Aracılığıyla paylaş


ConventionPropertyExtensions.GetContainingKeys(IConventionProperty) Yöntem

Tanım

Bu özelliği kullanan tüm birincil veya alternatif anahtarları alır (bu özelliğin dahil olduğu bileşik anahtarlar dahil).

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionKey> GetContainingKeys (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
static member GetContainingKeys : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionKey>
<Extension()>
Public Function GetContainingKeys (property As IConventionProperty) As IEnumerable(Of IConventionKey)

Parametreler

property
IConventionProperty

birincil ve alternatif anahtarları almak için özelliği.

Döndürülenler

Bu özelliği kullanan birincil ve alternatif anahtarlar.

Şunlara uygulanır