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)

Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs

Returns the maximum length allowed for store identifiers.

C#
public static int GetMaxIdentifierLength (this Microsoft.EntityFrameworkCore.Metadata.IModel model);

Parameters

model
IModel

The model to get the maximum identifier length for.

Returns

The maximum identifier length.

Applies to

Entity Framework Core 5.0 i druge verzije
Proizvod Verzije
Entity Framework Core 3.0, 3.1, 5.0

GetMaxIdentifierLength(IReadOnlyModel)

Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs

Returns the maximum length allowed for store identifiers.

C#
public static int GetMaxIdentifierLength (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);

Parameters

model
IReadOnlyModel

The model to get the maximum identifier length for.

Returns

The maximum identifier length.

Applies to

Entity Framework Core 9.0 i druge verzije
Proizvod Verzije
Entity Framework Core 6.0, 7.0, 8.0, 9.0