IEntityType.FindIndex Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
FindIndex(String) |
Ottiene l'indice con il nome specificato. Restituisce |
FindIndex(IReadOnlyList<IReadOnlyProperty>) |
Ottiene l'indice senza nome definito nelle proprietà specificate. Restituisce |
FindIndex(IReadOnlyProperty) |
Ottiene l'indice definito nella proprietà specificata. Restituisce |
FindIndex(IReadOnlyList<IProperty>) |
Ottiene l'indice senza nome definito nelle proprietà specificate. Restituisce Gli indici denominati non verranno restituiti anche se l'elenco delle proprietà corrisponde. |
FindIndex(String)
Ottiene l'indice con il nome specificato. Restituisce null
se non esiste alcun indice di questo tipo.
public Microsoft.EntityFrameworkCore.Metadata.IIndex FindIndex (string name);
public Microsoft.EntityFrameworkCore.Metadata.IIndex? FindIndex (string name);
abstract member FindIndex : string -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Public Function FindIndex (name As String) As IIndex
Parametri
- name
- String
Nome dell'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 è definito alcun indice di questo tipo.
public Microsoft.EntityFrameworkCore.Metadata.IIndex? FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Public Function FindIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IIndex
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(IReadOnlyProperty)
Ottiene l'indice definito nella proprietà specificata. Restituisce null
se non viene definito alcun indice.
public virtual Microsoft.EntityFrameworkCore.Metadata.IIndex? FindIndex (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member FindIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IIndex
override this.FindIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Public Overridable Function FindIndex (property As IReadOnlyProperty) As IIndex
Parametri
- property
- IReadOnlyProperty
Proprietà su cui trovare l'indice.
Restituisce
Indice o null
se non viene trovato alcun elemento.
Si applica a
FindIndex(IReadOnlyList<IProperty>)
Ottiene l'indice senza nome definito nelle proprietà specificate. Restituisce null
se non è definito alcun indice di questo tipo.
Gli indici denominati non verranno restituiti anche se l'elenco delle proprietà corrisponde.
public Microsoft.EntityFrameworkCore.Metadata.IIndex FindIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties);
abstract member FindIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Metadata.IIndex
Public Function FindIndex (properties As IReadOnlyList(Of IProperty)) As IIndex
Parametri
- properties
- IReadOnlyList<IProperty>
Proprietà su cui trovare l'indice.
Restituisce
Indice o null
se non viene trovato alcun elemento.
Si applica a
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per