CosmosPropertyExtensions.SetVectorDimensions Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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é.
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é.
- fromDataAnnotation
- Boolean
Indique si la configuration a été spécifiée à l’aide d’une annotation de données.
Retours
Valeur configurée.