次の方法で共有


CosmosEntityTypeExtensions.SetThroughput メソッド

定義

オーバーロード

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

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

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

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

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

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

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

パラメーター

entityType
IMutableEntityType

エンティティの型。

throughput
Nullable<Int32>

設定するスループット。

autoscale
Nullable<Boolean>

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

適用対象

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

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

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

パラメーター

entityType
IConventionEntityType

エンティティの型。

throughput
Nullable<Int32>

設定するスループット。

autoscale
Nullable<Boolean>

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

fromDataAnnotation
Boolean

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

戻り値

適用対象