語言

ConventionPropertyExtensions.GetMaxLengthConfigurationSource 方法

定義

回傳 的 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)

參數

property
IConventionProperty

尋找配置來源的性質。

傳回

的 GetMaxLength(IProperty)配置來源。

適用於