Condividi tramite


RuntimeEntityType.FindIndex Metodo

Definizione

Overload

FindIndex(IReadOnlyList<IReadOnlyProperty>)

Ottiene l'indice senza nome definito nelle proprietà specificate. Restituisce null se non è definito alcun indice di questo tipo.

FindIndex(String)

Ottiene l'indice con il nome specificato. Restituisce null se non esiste alcun indice di questo tipo.

FindIndex(IReadOnlyList<IReadOnlyProperty>)

Ottiene l'indice senza nome definito nelle proprietà specificate. Restituisce null se non è definito alcun indice di questo tipo.

public virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex? FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex
override this.FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex
Public Overridable Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As RuntimeIndex

Parametri

properties
IReadOnlyList<IReadOnlyProperty>

Proprietà in cui trovare l'indice.

Restituisce

Indice o null se non viene trovato alcun oggetto .

Commenti

Gli indici denominati non verranno restituiti anche se l'elenco di proprietà corrisponde.

Si applica a

FindIndex(String)

Ottiene l'indice con il nome specificato. Restituisce null se non esiste alcun indice di questo tipo.

public virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex? FindIndex (string name);
abstract member FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex
override this.FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex
Public Overridable Function FindIndex (name As String) As RuntimeIndex

Parametri

name
String

Nome dell'indice.

Restituisce

Indice o null se non viene trovato alcun oggetto .

Si applica a