Partager via


RuntimeEntityType.IReadOnlyEntityType.FindIndex Méthode

Définition

Surcharges

IReadOnlyEntityType.FindIndex(String)

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

IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

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

IReadOnlyEntityType.FindIndex(String)

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

[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

Paramètres

name
String

Nom de l’index à rechercher.

Retours

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

Implémente

Attributs

S’applique à

IReadOnlyEntityType.FindIndex(IReadOnlyList<IReadOnlyProperty>)

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

[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

Paramètres

properties
IReadOnlyList<IReadOnlyProperty>

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

Retours

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

Implémente

Attributs

S’applique à