Sdílet prostřednictvím


RelationalKeyExtensions.GetMappedConstraints(IKey) Metoda

Definice

Získá jedinečná omezení, na které je mapován klíč.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint> GetMappedConstraints (this Microsoft.EntityFrameworkCore.Metadata.IKey key);
static member GetMappedConstraints : Microsoft.EntityFrameworkCore.Metadata.IKey -> seq<Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint>
<Extension()>
Public Function GetMappedConstraints (key As IKey) As IEnumerable(Of IUniqueConstraint)

Parametry

key
IKey

Klíč

Návraty

Jedinečná omezení, na která je klíč mapován.

Platí pro