RuntimeEntityType.IEntityType.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
IEntityType.FindIndex(String) |
Obtém o índice com o nome fornecido. Retornará |
IEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>) |
Obtém o índice sem nome definido nas propriedades fornecidas. Retornará |
IEntityType.FindIndex(String)
Obtém o índice com o nome fornecido. Retornará null
se esse índice não existir.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex? IEntityType.FindIndex (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex IEntityType.FindIndex (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Function FindIndex (name As String) As IIndex Implements IEntityType.FindIndex
Parâmetros
- name
- String
O nome do índice.
Retornos
O índice ou null
se nenhum for encontrado.
Implementações
- Atributos
Aplica-se a
IEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)
Obtém o índice sem nome definido nas propriedades fornecidas. Retornará null
se nenhum índice desse tipo for definido.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex? IEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IIndex IEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IIndex Implements IEntityType.FindIndex
Parâmetros
- properties
- IReadOnlyList<IReadOnlyProperty>
As propriedades em que localizar o índice.
Retornos
O índice ou null
se nenhum for encontrado.
Implementações
- Atributos
Aplica-se a
Entity Framework
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários