Bagikan melalui


MutablePropertyExtensions.GetContainingKeys(IMutableProperty) Metode

Definisi

Mendapatkan semua kunci utama atau alternatif yang menggunakan properti ini (termasuk kunci komposit tempat properti ini disertakan).

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

Parameter

property
IMutableProperty

Properti untuk mendapatkan kunci primer dan alternatif.

Mengembalikan

Kunci utama dan alternatif yang menggunakan properti ini.

Berlaku untuk