Langue

CosmosPropertyExtensions.SetVectorDimensions Méthode

Définition

Surcharges

Nom Description
SetVectorDimensions(IMutableProperty, Nullable<Int32>)

Définit les dimensions du vecteur stocké dans cette propriété.

SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean)

Définit les dimensions du vecteur stocké dans cette propriété.

SetVectorDimensions(IMutableProperty, Nullable<Int32>)

Source:
CosmosPropertyExtensions.cs
Source:
CosmosPropertyExtensions.cs

Définit les dimensions du vecteur stocké dans cette propriété.

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))

Paramètres

property
IMutableProperty

La propriété.

dimensions
Nullable<Int32>

Dimensions du vecteur stocké dans la propriété.

S’applique à

SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean)

Source:
CosmosPropertyExtensions.cs
Source:
CosmosPropertyExtensions.cs

Définit les dimensions du vecteur stocké dans cette propriété.

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)

Paramètres

property
IConventionProperty

La propriété.

dimensions
Nullable<Int32>

Dimensions du vecteur stocké dans la propriété.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

Retours

Valeur configurée.

S’applique à