RelationalIndexExtensions.GetDatabaseName 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
GetDatabaseName(IIndex) |
Returns the name of the index in the database. |
GetDatabaseName(IReadOnlyIndex) |
Returns the name of the index in the database. |
GetDatabaseName(IIndex, StoreObjectIdentifier) |
Returns the name of the index in the database. |
GetDatabaseName(IReadOnlyIndex, StoreObjectIdentifier) |
Returns the name of the index in the database. |
GetDatabaseName(IIndex)
Returns the name of the index in the database.
public static string GetDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IIndex index);
static member GetDatabaseName : Microsoft.EntityFrameworkCore.Metadata.IIndex -> string
<Extension()>
Public Function GetDatabaseName (index As IIndex) As String
Parameters
- index
- IIndex
The index.
Returns
The name of the index in the database.
Applies to
GetDatabaseName(IReadOnlyIndex)
Returns the name of the index in the database.
public static string GetDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);
public static string? GetDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);
static member GetDatabaseName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex -> string
<Extension()>
Public Function GetDatabaseName (index As IReadOnlyIndex) As String
Parameters
- index
- IReadOnlyIndex
The index.
Returns
The name of the index in the database.
Applies to
GetDatabaseName(IIndex, StoreObjectIdentifier)
Returns the name of the index in the database.
public static string GetDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDatabaseName : Microsoft.EntityFrameworkCore.Metadata.IIndex * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDatabaseName (index As IIndex, ByRef storeObject As StoreObjectIdentifier) As String
Parameters
- index
- IIndex
The index.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Returns
The name of the index in the database.
Applies to
GetDatabaseName(IReadOnlyIndex, StoreObjectIdentifier)
Returns the name of the index in the database.
public static string? GetDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDatabaseName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDatabaseName (index As IReadOnlyIndex, ByRef storeObject As StoreObjectIdentifier) As String
Parameters
- index
- IReadOnlyIndex
The index.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Returns
The name of the index in the database.
Applies to
Entity Framework