Share via


IConventionEntityType.FindIndex Metodo

Definizione

Overload

FindIndex(IReadOnlyProperty)

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

FindIndex(IReadOnlyList<IProperty>)

Ottiene l'indice senza nome definito nelle proprietà specificate. Restituisce null se non viene definito alcun indice.

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

FindIndex(IReadOnlyList<IReadOnlyProperty>)

Ottiene l'indice senza nome definito nelle proprietà specificate. Restituisce null se non viene definito alcun indice.

FindIndex(String)

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

FindIndex(IReadOnlyProperty)

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

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

Parametri

property
IReadOnlyProperty

Proprietà su cui trovare l'indice.

Restituisce

Indice o null se non viene trovato alcun elemento.

Commenti

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

Si applica a

FindIndex(IReadOnlyList<IProperty>)

Ottiene l'indice senza nome definito nelle proprietà specificate. Restituisce null se non viene definito alcun indice.

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

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

Parametri

properties
IReadOnlyList<IProperty>

Proprietà su cui trovare l'indice.

Restituisce

Indice o null se non viene trovato alcun elemento.

Si applica a

FindIndex(IReadOnlyList<IReadOnlyProperty>)

Ottiene l'indice senza nome definito nelle proprietà specificate. Restituisce null se non viene definito alcun indice.

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

Parametri

properties
IReadOnlyList<IReadOnlyProperty>

Proprietà su cui trovare l'indice.

Restituisce

Indice o null se non viene trovato alcun elemento.

Commenti

Gli indici denominati non verranno restituiti anche se l'elenco delle 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 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

Parametri

name
String

Nome dell'indice da trovare.

Restituisce

Indice o null se non viene trovato alcun elemento.

Si applica a