RelationalModelExtensions.GetMaxIdentifierLength Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
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
Entity Framework