Compartir a través de


RelationalIndexExtensions.SetDatabaseName Método

Definición

Sobrecargas

SetDatabaseName(IMutableIndex, String)

Establece el nombre del índice en la base de datos.

SetDatabaseName(IConventionIndex, String, Boolean)

Establece el nombre del índice en la base de datos.

SetDatabaseName(IMutableIndex, String)

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

Establece el nombre del índice en la base de datos.

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)

Parámetros

index
IMutableIndex

Índice.

name
String

Valor que se va a establecer.

Se aplica a

SetDatabaseName(IConventionIndex, String, Boolean)

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

Establece el nombre del índice en la base de datos.

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

Parámetros

index
IConventionIndex

Índice.

name
String

Valor que se va a establecer.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

El valor configurado.

Se aplica a