Share via


IConventionEntityType.FindIndex Método

Definição

Sobrecargas

FindIndex(IReadOnlyProperty)

Obtém o índice sem nome definido na propriedade fornecida. Retornará null se nenhum índice desse tipo for definido.

FindIndex(IReadOnlyList<IProperty>)

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

Í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á null se nenhum índice for definido.

FindIndex(String)

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

FindIndex(IReadOnlyProperty)

Obtém o índice sem nome definido na propriedade fornecida. Retornará null se nenhum índice desse tipo for definido.

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

A propriedade na qual 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(IReadOnlyList<IProperty>)

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

Índices nomeados não serão retornados mesmo que a lista de propriedades corresponda.

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>

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 for definido.

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>

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.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

O nome do índice a ser localizado.

Retornos

O índice ou null se nenhum for encontrado.

Aplica-se a