SqlServerVectorIndexBuilder<TEntity> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供一個簡單的 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 資料庫」。