Bagikan melalui


ConventionPropertyExtensions.GetContainingIndexes(IConventionProperty) Metode

Definisi

Mendapatkan semua indeks yang menggunakan properti ini (termasuk indeks komposit tempat properti ini disertakan).

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

Parameter

property
IConventionProperty

Properti untuk mendapatkan indeks.

Mengembalikan

Indeks yang menggunakan properti ini.

Berlaku untuk