Language

CosmosPropertyExtensions.SetVectorDimensions メソッド

定義

オーバーロード

Name 説明
SetVectorDimensions(IMutableProperty, Nullable<Int32>)

このプロパティに格納されているベクターの次元を設定します。

SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean)

このプロパティに格納されているベクターの次元を設定します。

SetVectorDimensions(IMutableProperty, Nullable<Int32>)

ソース:
CosmosPropertyExtensions.cs
ソース:
CosmosPropertyExtensions.cs

このプロパティに格納されているベクターの次元を設定します。

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

パラメーター

property
IMutableProperty

プロパティ。

dimensions
Nullable<Int32>

プロパティに格納されているベクターの次元。

適用対象

SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean)

ソース:
CosmosPropertyExtensions.cs
ソース:
CosmosPropertyExtensions.cs

このプロパティに格納されているベクターの次元を設定します。

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)

パラメーター

property
IConventionProperty

プロパティ。

dimensions
Nullable<Int32>

プロパティに格納されているベクターの次元。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

構成された値。

適用対象