CosmosPropertyExtensions.SetVectorDimensions Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
| Nome | Descrição |
|---|---|
| SetVectorDimensions(IMutableProperty, Nullable<Int32>) |
Define as dimensões do vetor armazenado nesta propriedade. |
| SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean) |
Define as dimensões do vetor armazenado nesta propriedade. |
SetVectorDimensions(IMutableProperty, Nullable<Int32>)
- Origem:
- CosmosPropertyExtensions.cs
- Origem:
- CosmosPropertyExtensions.cs
Define as dimensões do vetor armazenado nesta propriedade.
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))
Parâmetros
- property
- IMutableProperty
A propriedade.
Aplica-se a
SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean)
- Origem:
- CosmosPropertyExtensions.cs
- Origem:
- CosmosPropertyExtensions.cs
Define as dimensões do vetor armazenado nesta propriedade.
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)
Parâmetros
- property
- IConventionProperty
A propriedade.
- fromDataAnnotation
- Boolean
Indica se a configuração foi especificada usando uma anotação de dados.
Retornos
O valor configurado.