CosmosAutomaticIndexingBuilder<TEntity> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于配置 Cosmos 容器的自动索引策略的通用 Fluent 生成器。 返回者。HasAutomaticIndexingEntityTypeBuilder<TEntity>
[System.Runtime.CompilerServices.Nullable(0)]
public class CosmosAutomaticIndexingBuilder<TEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.CosmosAutomaticIndexingBuilder where TEntity : class
[<System.Runtime.CompilerServices.Nullable(0)>]
type CosmosAutomaticIndexingBuilder<'Entity (requires 'Entity : null)> = class
inherit CosmosAutomaticIndexingBuilder
Public Class CosmosAutomaticIndexingBuilder(Of TEntity)
Inherits CosmosAutomaticIndexingBuilder
类型参数
- TEntity
正在配置的实体类型。
- 继承
- 特性
构造函数
| 名称 | 说明 |
|---|---|
| CosmosAutomaticIndexingBuilder<TEntity>(EntityTypeBuilder<TEntity>) |
属性
| 名称 | 说明 |
|---|---|
| EntityTypeBuilder |
用于支持此自动索引配置的实体类型生成器。 (继承自 CosmosAutomaticIndexingBuilder) |
方法
| 名称 | 说明 |
|---|---|
| Except(String) |
向容器 |
显式接口实现
| 名称 | 说明 |
|---|---|
| IInfrastructure<IConventionEntityTypeBuilder>.Instance |
获取隐藏的属性的值。 (继承自 CosmosAutomaticIndexingBuilder) |
扩展方法
| 名称 | 说明 |
|---|---|
| GetInfrastructure<T>(IInfrastructure<T>) |
从正在使用的隐藏 IInfrastructure<T>属性中获取值。 此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。 |