RelationalKeyExtensions.GetNameConfigurationSource(IConventionKey) Method

Definition

Gets the ConfigurationSource for the constraint name.

C#
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionKey key);

Parameters

key
IConventionKey

The key.

Returns

The ConfigurationSource for the constraint name.

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0