IMutableEntityType.AddIndex Methode

Definition

Überlädt

AddIndex(IMutableProperty)

Fügt diesem Entitätstyp einen unbenannten Index hinzu.

AddIndex(IReadOnlyList<IMutableProperty>)

Fügt diesem Entitätstyp einen unbenannten Index hinzu.

AddIndex(IMutableProperty, String)

Fügt diesem Entitätstyp einen benannten Index hinzu.

AddIndex(IReadOnlyList<IMutableProperty>, String)

Fügt diesem Entitätstyp einen benannten Index hinzu.

AddIndex(IMutableProperty)

Fügt diesem Entitätstyp einen unbenannten Index hinzu.

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

Parameter

property
IMutableProperty

Die zu indizierte Eigenschaft.

Gibt zurück

Der neu erstellte Index.

Gilt für:

AddIndex(IReadOnlyList<IMutableProperty>)

Fügt diesem Entitätstyp einen unbenannten Index hinzu.

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

Parameter

properties
IReadOnlyList<IMutableProperty>

Die Eigenschaften, die indiziert werden sollen.

Gibt zurück

Der neu erstellte Index.

Gilt für:

AddIndex(IMutableProperty, String)

Fügt diesem Entitätstyp einen benannten Index hinzu.

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

Parameter

property
IMutableProperty

Die zu indizierte Eigenschaft.

name
String

Der Name des Index.

Gibt zurück

Der neu erstellte Index.

Gilt für:

AddIndex(IReadOnlyList<IMutableProperty>, String)

Fügt diesem Entitätstyp einen benannten Index hinzu.

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

Parameter

properties
IReadOnlyList<IMutableProperty>

Die Eigenschaften, die indiziert werden sollen.

name
String

Der Name des Index.

Gibt zurück

Der neu erstellte Index.

Gilt für: