RelationalIndexExtensions.GetDefaultDatabaseName Method

Definition

Overloads

GetDefaultDatabaseName(IIndex)

Returns the default name that would be used for this index.

GetDefaultDatabaseName(IReadOnlyIndex)

Returns the default name that would be used for this index.

GetDefaultDatabaseName(IIndex, StoreObjectIdentifier)

Returns the default name that would be used for this index.

GetDefaultDatabaseName(IReadOnlyIndex, StoreObjectIdentifier)

Returns the default name that would be used for this index.

GetDefaultDatabaseName(IIndex)

Source:
RelationalIndexExtensions.cs

Returns the default name that would be used for this index.

C#
public static string GetDefaultDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IIndex index);

Parameters

index
IIndex

The index.

Returns

The default name that would be used for this index.

Applies to

Entity Framework Core 5.0
Toode Versioonid
Entity Framework Core 5.0

GetDefaultDatabaseName(IReadOnlyIndex)

Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs

Returns the default name that would be used for this index.

C#
public static string GetDefaultDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);
C#
public static string? GetDefaultDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);

Parameters

index
IReadOnlyIndex

The index.

Returns

The default name that would be used for this index.

Applies to

Entity Framework Core 9.0 ja muud versioonid
Toode Versioonid
Entity Framework Core 6.0, 7.0, 8.0, 9.0

GetDefaultDatabaseName(IIndex, StoreObjectIdentifier)

Source:
RelationalIndexExtensions.cs

Returns the default name that would be used for this index.

C#
public static string GetDefaultDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

Parameters

index
IIndex

The index.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The default name that would be used for this index.

Applies to

Entity Framework Core 5.0
Toode Versioonid
Entity Framework Core 5.0

GetDefaultDatabaseName(IReadOnlyIndex, StoreObjectIdentifier)

Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs
Source:
RelationalIndexExtensions.cs

Returns the default name that would be used for this index.

C#
public static string? GetDefaultDatabaseName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

Parameters

index
IReadOnlyIndex

The index.

storeObject
StoreObjectIdentifier

The identifier of the store object.

Returns

The default name that would be used for this index.

Applies to

Entity Framework Core 9.0 ja muud versioonid
Toode Versioonid
Entity Framework Core 6.0, 7.0, 8.0, 9.0