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) 組態來源。

適用於