Partilhar via


RuntimeEntityType.IEntityType.FindIndex Método

Definição

Sobrecargas

IEntityType.FindIndex(String)

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

IEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

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

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