Sprache

CosmosPropertyExtensions.SetVectorDimensions Methode

Definition

Überlädt

Name Beschreibung
SetVectorDimensions(IMutableProperty, Nullable<Int32>)

Legt die Dimensionen des in dieser Eigenschaft gespeicherten Vektors fest.

SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean)

Legt die Dimensionen des in dieser Eigenschaft gespeicherten Vektors fest.

SetVectorDimensions(IMutableProperty, Nullable<Int32>)

Quelle:
CosmosPropertyExtensions.cs
Quelle:
CosmosPropertyExtensions.cs

Legt die Dimensionen des in dieser Eigenschaft gespeicherten Vektors fest.

public static void SetVectorDimensions(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? dimensions);
static member SetVectorDimensions : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> -> unit
<Extension()>
Public Sub SetVectorDimensions (property As IMutableProperty, dimensions As Nullable(Of Integer))

Parameter

property
IMutableProperty

Die Eigenschaft.

dimensions
Nullable<Int32>

Die Dimensionen des in der Eigenschaft gespeicherten Vektors.

Gilt für:

SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean)

Quelle:
CosmosPropertyExtensions.cs
Quelle:
CosmosPropertyExtensions.cs

Legt die Dimensionen des in dieser Eigenschaft gespeicherten Vektors fest.

public static int? SetVectorDimensions(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? dimensions, bool fromDataAnnotation = false);
static member SetVectorDimensions : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Function SetVectorDimensions (property As IConventionProperty, dimensions As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)

Parameter

property
IConventionProperty

Die Eigenschaft.

dimensions
Nullable<Int32>

Die Dimensionen des in der Eigenschaft gespeicherten Vektors.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Der konfigurierte Wert.

Gilt für: