RelationalModelExtensions.GetMaxIdentifierLength Method

Definition

Overloads

GetMaxIdentifierLength(IModel)

Returns the maximum length allowed for store identifiers.

GetMaxIdentifierLength(IReadOnlyModel)

Returns the maximum length allowed for store identifiers.

GetMaxIdentifierLength(IModel)

Returns the maximum length allowed for store identifiers.

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

Parameters

model
IModel

The model to get the maximum identifier length for.

Returns

The maximum identifier length.

Applies to

GetMaxIdentifierLength(IReadOnlyModel)

Returns the maximum length allowed for store identifiers.

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

Parameters

model
IReadOnlyModel

The model to get the maximum identifier length for.

Returns

The maximum identifier length.

Applies to