Język

SqlServerIndexExtensions.SetVectorMetric Metoda

Definicja

Przeciążenia

Nazwisko Opis
SetVectorMetric(IMutableIndex, String)

Ustawia metryki podobieństwa dla indeksu wektorowego.

SetVectorMetric(IConventionIndex, String, Boolean)

Ustawia metryki podobieństwa dla indeksu wektorowego.

SetVectorMetric(IMutableIndex, String)

Źródło:
SqlServerIndexExtensions.cs

Ustawia metryki podobieństwa dla indeksu wektorowego.

[System.Diagnostics.CodeAnalysis.Experimental("EF9105")]
public static void SetVectorMetric(this Microsoft.EntityFrameworkCore.Metadata.IMutableIndex index, string? metric);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9105")>]
static member SetVectorMetric : Microsoft.EntityFrameworkCore.Metadata.IMutableIndex * string -> unit
<Extension()>
Public Sub SetVectorMetric (index As IMutableIndex, metric As String)

Parametry

index
IMutableIndex

Indeks.

metric
String

Wartość, która ma zostać ustawiona.

Atrybuty

Dotyczy

SetVectorMetric(IConventionIndex, String, Boolean)

Źródło:
SqlServerIndexExtensions.cs

Ustawia metryki podobieństwa dla indeksu wektorowego.

[System.Diagnostics.CodeAnalysis.Experimental("EF9105")]
public static string? SetVectorMetric(this Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index, string? metric, bool fromDataAnnotation = false);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9105")>]
static member SetVectorMetric : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex * string * bool -> string
<Extension()>
Public Function SetVectorMetric (index As IConventionIndex, metric As String, Optional fromDataAnnotation As Boolean = false) As String

Parametry

index
IConventionIndex

Indeks.

metric
String

Wartość, która ma zostać ustawiona.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

Skonfigurowana wartość.

Atrybuty

Dotyczy