Share via


CosmosModelExtensions.SetThroughput メソッド

定義

オーバーロード

SetThroughput(IMutableModel, Nullable<Int32>, Nullable<Boolean>)

データベース スコープでプロビジョニングされたスループットを設定します。

SetThroughput(IConventionModel, Nullable<Int32>, Nullable<Boolean>, Boolean)

データベース スコープでプロビジョニングされたスループットを設定します。

SetThroughput(IMutableModel, Nullable<Int32>, Nullable<Boolean>)

データベース スコープでプロビジョニングされたスループットを設定します。

public static void SetThroughput (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, int? throughput, bool? autoscale);
static member SetThroughput : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Nullable<int> * Nullable<bool> -> unit
<Extension()>
Public Sub SetThroughput (model As IMutableModel, throughput As Nullable(Of Integer), autoscale As Nullable(Of Boolean))

パラメーター

model
IMutableModel

モデル。

throughput
Nullable<Int32>

設定するスループット。

autoscale
Nullable<Boolean>

自動スケーリングが有効かどうか。

適用対象

SetThroughput(IConventionModel, Nullable<Int32>, Nullable<Boolean>, Boolean)

データベース スコープでプロビジョニングされたスループットを設定します。

public static int? SetThroughput (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, int? throughput, bool? autoscale, bool fromDataAnnotation = false);
static member SetThroughput : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Nullable<int> * Nullable<bool> * bool -> Nullable<int>
<Extension()>
Public Function SetThroughput (model As IConventionModel, throughput As Nullable(Of Integer), autoscale As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)

パラメーター

model
IConventionModel

モデル。

throughput
Nullable<Int32>

設定するスループット。

autoscale
Nullable<Boolean>

自動スケーリングが有効かどうか。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

適用対象