RelationalIndexExtensions.GetDefaultName(IIndex) 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.
Caution
Use GetDefaultDatabaseName() instead
Returns the default name that would be used for this index.
public static string GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IIndex index);
[System.Obsolete("Use GetDefaultDatabaseName() instead")]
public static string GetDefaultName (this Microsoft.EntityFrameworkCore.Metadata.IIndex index);
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IIndex -> string
[<System.Obsolete("Use GetDefaultDatabaseName() instead")>]
static member GetDefaultName : Microsoft.EntityFrameworkCore.Metadata.IIndex -> string
<Extension()>
Public Function GetDefaultName (index As IIndex) As String
Parameters
- index
- IIndex
The index.
Returns
The default name that would be used for this index.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework