Share via


CosmosModelExtensions.SetThroughput 메서드

정의

오버로드

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

데이터베이스 scope 프로비전된 처리량을 설정합니다.

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

데이터베이스 scope 프로비전된 처리량을 설정합니다.

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

데이터베이스 scope 프로비전된 처리량을 설정합니다.

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)

데이터베이스 scope 프로비전된 처리량을 설정합니다.

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

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

적용 대상