Compartir a través de


IConventionEntityType.FindIndex Método

Definición

Sobrecargas

FindIndex(IReadOnlyProperty)

Obtiene el índice sin nombre definido en la propiedad especificada. Devuelve null si no se define ningún índice de este tipo.

FindIndex(IReadOnlyList<IProperty>)

Obtiene el índice sin nombre definido en las propiedades especificadas. Devuelve null si no se define ningún índice.

Los índices con nombre no se devolverán incluso si la lista de propiedades coincide.

FindIndex(IReadOnlyList<IReadOnlyProperty>)

Obtiene el índice sin nombre definido en las propiedades especificadas. Devuelve null si no se define ningún índice.

FindIndex(String)

Obtiene el índice con el nombre especificado. Devuelve null si no existe ese índice.

FindIndex(IReadOnlyProperty)

Obtiene el índice sin nombre definido en la propiedad especificada. Devuelve null si no se define ningún índice de este tipo.

public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? FindIndex (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member FindIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
override this.FindIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Overridable Function FindIndex (property As IReadOnlyProperty) As IConventionIndex

Parámetros

property
IReadOnlyProperty

Propiedad en la que se va a buscar el índice.

Devoluciones

Índice o null si no se encuentra ninguno.

Comentarios

Los índices con nombre no se devolverán incluso si la lista de propiedades coincide.

Se aplica a

FindIndex(IReadOnlyList<IProperty>)

Obtiene el índice sin nombre definido en las propiedades especificadas. Devuelve null si no se define ningún índice.

Los índices con nombre no se devolverán incluso si la lista de propiedades coincide.

public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Function FindIndex (properties As IReadOnlyList(Of IProperty)) As IConventionIndex

Parámetros

properties
IReadOnlyList<IProperty>

Propiedades en las que se va a buscar el índice.

Devoluciones

Índice o null si no se encuentra ninguno.

Se aplica a

FindIndex(IReadOnlyList<IReadOnlyProperty>)

Obtiene el índice sin nombre definido en las propiedades especificadas. Devuelve null si no se define ningún índice.

public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IConventionIndex

Parámetros

properties
IReadOnlyList<IReadOnlyProperty>

Propiedades en las que se va a buscar el índice.

Devoluciones

Índice o null si no se encuentra ninguno.

Comentarios

Los índices con nombre no se devolverán incluso si la lista de propiedades coincide.

Se aplica a

FindIndex(String)

Obtiene el índice con el nombre especificado. Devuelve null si no existe ese índice.

public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex FindIndex (string name);
public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? FindIndex (string name);
abstract member FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Function FindIndex (name As String) As IConventionIndex

Parámetros

name
String

Nombre del índice que se va a buscar.

Devoluciones

Índice o null si no se encuentra ninguno.

Se aplica a