CosmosModelBuilderExtensions.HasManualThroughput 方法

定义

配置手动预配的吞吐量产品/服务。

public static Microsoft.EntityFrameworkCore.ModelBuilder HasManualThroughput (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, int? throughput);
static member HasManualThroughput : Microsoft.EntityFrameworkCore.ModelBuilder * Nullable<int> -> Microsoft.EntityFrameworkCore.ModelBuilder
<Extension()>
Public Function HasManualThroughput (modelBuilder As ModelBuilder, throughput As Nullable(Of Integer)) As ModelBuilder

参数

modelBuilder
ModelBuilder

模型生成器。

throughput
Nullable<Int32>

要设置的吞吐量。

返回

注解

有关详细信息和示例,请参阅为实体类型和关系建模和使用 EF Core 访问 Azure Cosmos DB

适用于