Dela via


ConventionPropertyExtensions.GetMaxLengthConfigurationSource Method

Definition

Returns the configuration source for GetMaxLength(IProperty).

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetMaxLengthConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
static member GetMaxLengthConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetMaxLengthConfigurationSource (property As IConventionProperty) As Nullable(Of ConfigurationSource)

Parameters

property
IConventionProperty

The property to find configuration source for.

Returns

The configuration source for GetMaxLength(IProperty).

Applies to