RelationalKeyExtensions.GetMappedConstraints(IKey) Method

Definition

Gets the unique constraints to which the key is mapped.

C#
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IUniqueConstraint> GetMappedConstraints (this Microsoft.EntityFrameworkCore.Metadata.IKey key);

Parameters

key
IKey

The key.

Returns

The unique constraints to which the key is mapped.

Applies to

Produkt Versioner
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0