Compartilhar via


RuntimeEntityType.IReadOnlyEntityType.FindIndex Método

Definição

Sobrecargas

IReadOnlyEntityType.FindIndex(String)

Obtém o índice com o nome fornecido. Retornará null se não existir nenhum índice desse tipo.

IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

Obtém o índice sem nome definido nas propriedades fornecidas. Retornará null se nenhum índice desse tipo for definido.

IReadOnlyEntityType.FindIndex(String)

Obtém o índice com o nome fornecido. Retornará null se não existir nenhum índice desse tipo.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex? IReadOnlyEntityType.FindIndex (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex IReadOnlyEntityType.FindIndex (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
Function FindIndex (name As String) As IReadOnlyIndex Implements IReadOnlyEntityType.FindIndex

Parâmetros

name
String

O nome do índice a ser localizado.

Retornos

O índice ou null se nenhum for encontrado.

Implementações

Atributos

Aplica-se a

IReadOnlyEntityType.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.IReadOnlyIndex? IReadOnlyEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex IReadOnlyEntityType.FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex
Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IReadOnlyIndex Implements IReadOnlyEntityType.FindIndex

Parâmetros

properties
IReadOnlyList<IReadOnlyProperty>

As propriedades nas quais localizar o índice.

Retornos

O índice ou null se nenhum for encontrado.

Implementações

Atributos

Aplica-se a