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 建立實體類型和關聯性的模型化,以及 使用 EF Core 存取 Azure Cosmos DB

適用於