IMutableEntityType.AddIndex Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ü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:
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für