Langue

RelationalIndexExtensions.SetDatabaseName Méthode

Définition

Surcharges

Nom Description
SetDatabaseName(IMutableIndex, String)

Définit le nom de l’index dans la base de données.

SetDatabaseName(IConventionIndex, String, Boolean)

Définit le nom de l’index dans la base de données.

SetDatabaseName(IMutableIndex, String)

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

Définit le nom de l’index dans la base de données.

public static void SetDatabaseName(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, string? name);
public static void SetDatabaseName(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, string name);
static member SetDatabaseName : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * string -> unit
<Extension()>
Public Sub SetDatabaseName (index As IMutableIndex, name As String)

Paramètres

index
IMutableIndex

L'index.

name
String

La valeur à définir.

S’applique à

SetDatabaseName(IConventionIndex, String, Boolean)

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

Définit le nom de l’index dans la base de données.

public static string? SetDatabaseName(this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string? name, bool fromDataAnnotation = false);
public static string SetDatabaseName(this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string name, bool fromDataAnnotation = false);
static member SetDatabaseName : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * string * bool -> string
<Extension()>
Public Function SetDatabaseName (index As IConventionIndex, name As String, Optional fromDataAnnotation As Boolean = false) As String

Paramètres

index
IConventionIndex

L'index.

name
String

La valeur à définir.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

Retours

Valeur configurée.

S’applique à