共用方式為


RelationalModelExtensions.GetMaxIdentifierLengthConfigurationSource 方法

定義

傳回 的 GetMaxIdentifierLength(IReadOnlyModel) 組態來源。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetMaxIdentifierLengthConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model);
static member GetMaxIdentifierLengthConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetMaxIdentifierLengthConfigurationSource (model As IConventionModel) As Nullable(Of ConfigurationSource)

參數

model
IConventionModel

要為其尋找組態來源的模型。

傳回

GetMaxIdentifierLength(IReadOnlyModel) 組態來源。

適用於