語言

SqlServerVectorIndexBuilder<TEntity> 建構函式

定義

提供一個簡單的 API,用於在 SQL Server 上設定向量索引。

public SqlServerVectorIndexBuilder(Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> indexBuilder);
new Microsoft.EntityFrameworkCore.Metadata.Builders.SqlServerVectorIndexBuilder<'Entity> : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity> -> Microsoft.EntityFrameworkCore.Metadata.Builders.SqlServerVectorIndexBuilder<'Entity>
Public Sub New (indexBuilder As IndexBuilder(Of TEntity))

參數

indexBuilder
IndexBuilder<TEntity>

索引建構器。

備註

更多資訊與範例請參閱「建模實體類型與關係」,以及「使用 EF Core 存取 SQL Server 與 Azure SQL 資料庫」。

適用於