RelationalModelExtensions.GetMaxIdentifierLength 方法

定義

多載

GetMaxIdentifierLength(IModel)

傳回存放區識別碼允許的最大長度。

GetMaxIdentifierLength(IReadOnlyModel)

傳回存放區識別碼允許的最大長度。

GetMaxIdentifierLength(IModel)

傳回存放區識別碼允許的最大長度。

public static int GetMaxIdentifierLength (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetMaxIdentifierLength : Microsoft.EntityFrameworkCore.Metadata.IModel -> int
<Extension()>
Public Function GetMaxIdentifierLength (model As IModel) As Integer

參數

model
IModel

要取得最大識別碼長度的模型。

傳回

識別碼長度上限。

適用於

GetMaxIdentifierLength(IReadOnlyModel)

傳回存放區識別碼允許的最大長度。

public static int GetMaxIdentifierLength (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);
static member GetMaxIdentifierLength : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel -> int
<Extension()>
Public Function GetMaxIdentifierLength (model As IReadOnlyModel) As Integer

參數

model
IReadOnlyModel

要取得最大識別碼長度的模型。

傳回

識別碼長度上限。

適用於