IConventionEntityType.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(IReadOnlyProperty) |
Obtiene el índice sin nombre 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(IReadOnlyList<IReadOnlyProperty>) |
Obtiene el índice sin nombre definido en las propiedades especificadas. Devuelve |
FindIndex(String) |
Obtiene el índice con el nombre especificado. Devuelve |
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
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de