RelationalIndexExtensions.GetNameConfigurationSource(IConventionIndex) 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 GetDatabaseNameConfigurationSource() instead.
Gets the ConfigurationSource for the name of the index in the database.
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index);
[System.Obsolete("Use GetDatabaseNameConfigurationSource() instead.")]
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetNameConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index);
static member GetNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
[<System.Obsolete("Use GetDatabaseNameConfigurationSource() instead.")>]
static member GetNameConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetNameConfigurationSource (index As IConventionIndex) As Nullable(Of ConfigurationSource)
Parameters
- index
- IConventionIndex
The index.
Returns
The ConfigurationSource for the name of the index in the database.
- 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