Partager via


IConventionEntityType.FindIndex Méthode

Définition

Surcharges

FindIndex(IReadOnlyProperty)

Obtient l’index sans nom défini sur la propriété donnée. Retourne null si aucun index de ce type n’est défini.

FindIndex(IReadOnlyList<IProperty>)

Obtient l’index sans nom défini sur les propriétés données. Retourne null si aucun index n’est défini.

Les index nommés ne sont pas retournés même si la liste des propriétés correspond.

FindIndex(IReadOnlyList<IReadOnlyProperty>)

Obtient l’index sans nom défini sur les propriétés données. Retourne null si aucun index n’est défini.

FindIndex(String)

Obtient l’index avec le nom donné. Retourne null si aucun index de ce type n’existe.

FindIndex(IReadOnlyProperty)

Obtient l’index sans nom défini sur la propriété donnée. Retourne null si aucun index de ce type n’est défini.

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

Paramètres

property
IReadOnlyProperty

Propriété sur laquelle rechercher l’index.

Retours

Index, ou null si aucun n’est trouvé.

Remarques

Les index nommés ne sont pas retournés même si la liste des propriétés correspond.

S’applique à

FindIndex(IReadOnlyList<IProperty>)

Obtient l’index sans nom défini sur les propriétés données. Retourne null si aucun index n’est défini.

Les index nommés ne sont pas retournés même si la liste des propriétés correspond.

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

Paramètres

properties
IReadOnlyList<IProperty>

Propriétés sur laquelle rechercher l’index.

Retours

Index, ou null si aucun n’est trouvé.

S’applique à

FindIndex(IReadOnlyList<IReadOnlyProperty>)

Obtient l’index sans nom défini sur les propriétés données. Retourne null si aucun index n’est défini.

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

Paramètres

properties
IReadOnlyList<IReadOnlyProperty>

Propriétés sur laquelle rechercher l’index.

Retours

Index, ou null si aucun n’est trouvé.

Remarques

Les index nommés ne sont pas retournés même si la liste des propriétés correspond.

S’applique à

FindIndex(String)

Obtient l’index avec le nom donné. Retourne null si aucun index de ce type n’existe.

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

Paramètres

name
String

Nom de l’index à rechercher.

Retours

Index, ou null si aucun n’est trouvé.

S’applique à