Share via


IMutableEntityType.AddIndex Metodo

Definizione

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