Bagikan melalui


RelationalKeyExtensions.GetMappedConstraints(IKey) Metode

Definisi

Mendapatkan batasan unik tempat kunci dipetakan.

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)

Parameter

key
IKey

Kuncinya.

Mengembalikan

Batasan unik tempat kunci dipetakan.

Berlaku untuk