CosmosPropertyExtensions.SetVectorDimensions Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Nombre | Description |
|---|---|
| SetVectorDimensions(IMutableProperty, Nullable<Int32>) |
Establece las dimensiones del vector almacenado en esta propiedad. |
| SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean) |
Establece las dimensiones del vector almacenado en esta propiedad. |
SetVectorDimensions(IMutableProperty, Nullable<Int32>)
- Source:
- CosmosPropertyExtensions.cs
- Source:
- CosmosPropertyExtensions.cs
Establece las dimensiones del vector almacenado en esta propiedad.
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
La propiedad.
Se aplica a
SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean)
- Source:
- CosmosPropertyExtensions.cs
- Source:
- CosmosPropertyExtensions.cs
Establece las dimensiones del vector almacenado en esta propiedad.
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
La propiedad.
- fromDataAnnotation
- Boolean
Indica si la configuración se especificó mediante una anotación de datos.
Devoluciones
Valor configurado.