Lenguaje

CosmosPropertyExtensions.SetVectorDimensions Método

Definición

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.

dimensions
Nullable<Int32>

Dimensiones del vector almacenado en 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.

dimensions
Nullable<Int32>

Dimensiones del vector almacenado en la propiedad .

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

Valor configurado.

Se aplica a