IEntityType.FindIndex Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
FindIndex(String) |
Obtiene el índice con el nombre especificado. Devuelve |
FindIndex(IReadOnlyList<IReadOnlyProperty>) |
Obtiene el índice sin nombre definido en las propiedades especificadas. Devuelve |
FindIndex(IReadOnlyProperty) |
Obtiene el índice definido en la propiedad especificada. Devuelve |
FindIndex(IReadOnlyList<IProperty>) |
Obtiene el índice sin nombre definido en las propiedades especificadas. Devuelve Los índices con nombre no se devolverán incluso si la lista de propiedades coincide. |
FindIndex(String)
Obtiene el índice con el nombre especificado. Devuelve null
si no existe ese índice.
public Microsoft.EntityFrameworkCore.Metadata.IIndex FindIndex (string name);
public Microsoft.EntityFrameworkCore.Metadata.IIndex? FindIndex (string name);
abstract member FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Public Function FindIndex (name As String) As IIndex
Parámetros
- name
- String
El nombre del í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 de este tipo.
public Microsoft.EntityFrameworkCore.Metadata.IIndex? FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Public Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IIndex
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(IReadOnlyProperty)
Obtiene el índice definido en la propiedad especificada. Devuelve null
si no se define ningún índice.
public virtual Microsoft.EntityFrameworkCore.Metadata.IIndex? FindIndex (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member FindIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IIndex
override this.FindIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Public Overridable Function FindIndex (property As IReadOnlyProperty) As IIndex
Parámetros
- property
- IReadOnlyProperty
Propiedad en la que se va a buscar el índice.
Devoluciones
Índice o null
si no se encuentra ninguno.
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 de este tipo.
Los índices con nombre no se devolverán incluso si la lista de propiedades coincide.
public Microsoft.EntityFrameworkCore.Metadata.IIndex FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Public Function FindIndex (properties As IReadOnlyList(Of IProperty)) As IIndex
Parámetros
- properties
- IReadOnlyList<IProperty>
Propiedades en las que se va a buscar el índice.
Devoluciones
Índice o null
si no se encuentra ninguno.