IMutableEntityType.FindIndex Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
FindIndex(IReadOnlyProperty) |
Obtém o índice definido na propriedade fornecida. Retornará |
FindIndex(IReadOnlyList<IProperty>) |
Obtém o índice sem nome definido nas propriedades fornecidas. Retornará Índices nomeados não serão retornados mesmo que a lista de propriedades corresponda. |
FindIndex(IReadOnlyList<IReadOnlyProperty>) |
Obtém o índice sem nome definido nas propriedades fornecidas. Retornará |
FindIndex(String) |
Obtém o índice com o nome fornecido. Retornará |
FindIndex(IReadOnlyProperty)
Obtém o índice definido na propriedade fornecida. Retornará null
se nenhum índice for definido.
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableIndex? FindIndex (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member FindIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
override this.FindIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
Public Overridable Function FindIndex (property As IReadOnlyProperty) As IMutableIndex
Parâmetros
- property
- IReadOnlyProperty
A propriedade na qual localizar o índice.
Retornos
O índice ou null
se nenhum for encontrado.
Aplica-se a
FindIndex(IReadOnlyList<IProperty>)
Obtém o índice sem nome definido nas propriedades fornecidas. Retornará null
se nenhum índice desse tipo for definido.
Índices nomeados não serão retornados mesmo que a lista de propriedades corresponda.
public Microsoft.EntityFrameworkCore.Metadata.IMutableIndex FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
Public Function FindIndex (properties As IReadOnlyList(Of IProperty)) As IMutableIndex
Parâmetros
- properties
- IReadOnlyList<IProperty>
As propriedades nas quais localizar o índice.
Retornos
O índice ou null
se nenhum for encontrado.
Aplica-se a
FindIndex(IReadOnlyList<IReadOnlyProperty>)
Obtém o índice sem nome definido nas propriedades fornecidas. Retornará null
se nenhum índice desse tipo for definido.
public Microsoft.EntityFrameworkCore.Metadata.IMutableIndex? FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
Public Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IMutableIndex
Parâmetros
- properties
- IReadOnlyList<IReadOnlyProperty>
As propriedades nas quais localizar o índice.
Retornos
O índice ou null
se nenhum for encontrado.
Comentários
Índices nomeados não serão retornados mesmo que a lista de propriedades corresponda.
Aplica-se a
FindIndex(String)
Obtém o índice com o nome fornecido. Retornará null
se não existir nenhum índice desse tipo.
public Microsoft.EntityFrameworkCore.Metadata.IMutableIndex FindIndex (string name);
public Microsoft.EntityFrameworkCore.Metadata.IMutableIndex? FindIndex (string name);
abstract member FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
Public Function FindIndex (name As String) As IMutableIndex
Parâmetros
- name
- String
O nome do índice.
Retornos
O índice ou null
se nenhum for encontrado.
Aplica-se a
Entity Framework