IMutableEntityType.AddIndex 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
AddIndex(IMutableProperty) |
Aggiunge un indice senza nome a questo tipo di entità. |
AddIndex(IReadOnlyList<IMutableProperty>) |
Aggiunge un indice senza nome a questo tipo di entità. |
AddIndex(IMutableProperty, String) |
Aggiunge un indice denominato a questo tipo di entità. |
AddIndex(IReadOnlyList<IMutableProperty>, String) |
Aggiunge un indice denominato a questo tipo di entità. |
AddIndex(IMutableProperty)
Aggiunge un indice senza nome a questo tipo di entità.
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableIndex AddIndex (Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
abstract member AddIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
override this.AddIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
Public Overridable Function AddIndex (property As IMutableProperty) As IMutableIndex
Parametri
- property
- IMutableProperty
Proprietà da indicizzare.
Restituisce
Indice appena creato.
Si applica a
AddIndex(IReadOnlyList<IMutableProperty>)
Aggiunge un indice senza nome a questo tipo di entità.
public Microsoft.EntityFrameworkCore.Metadata.IMutableIndex AddIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> properties);
abstract member AddIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
Public Function AddIndex (properties As IReadOnlyList(Of IMutableProperty)) As IMutableIndex
Parametri
- properties
- IReadOnlyList<IMutableProperty>
Proprietà da indicizzare.
Restituisce
Indice appena creato.
Si applica a
AddIndex(IMutableProperty, String)
Aggiunge un indice denominato a questo tipo di entità.
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableIndex AddIndex (Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string name);
abstract member AddIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
override this.AddIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
Public Overridable Function AddIndex (property As IMutableProperty, name As String) As IMutableIndex
Parametri
- property
- IMutableProperty
Proprietà da indicizzare.
- name
- String
Nome dell'indice.
Restituisce
Indice appena creato.
Si applica a
AddIndex(IReadOnlyList<IMutableProperty>, String)
Aggiunge un indice denominato a questo tipo di entità.
public Microsoft.EntityFrameworkCore.Metadata.IMutableIndex AddIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> properties, string name);
abstract member AddIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
Public Function AddIndex (properties As IReadOnlyList(Of IMutableProperty), name As String) As IMutableIndex
Parametri
- properties
- IReadOnlyList<IMutableProperty>
Proprietà da indicizzare.
- name
- String
Nome dell'indice.
Restituisce
Indice appena creato.
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