CosmosModelExtensions.SetThroughput Methode

Definition

Überlädt

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

Legt den bereitgestellten Durchsatz im Datenbankbereich fest.

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

Legt den bereitgestellten Durchsatz im Datenbankbereich fest.

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

Legt den bereitgestellten Durchsatz im Datenbankbereich fest.

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))

Parameter

model
IMutableModel

Das Modell.

throughput
Nullable<Int32>

Der festzulegende Durchsatz.

autoscale
Nullable<Boolean>

Gibt an, ob die automatische Skalierung aktiviert ist.

Gilt für:

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

Legt den bereitgestellten Durchsatz im Datenbankbereich fest.

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)

Parameter

model
IConventionModel

Das Modell.

throughput
Nullable<Int32>

Der festzulegende Durchsatz.

autoscale
Nullable<Boolean>

Gibt an, ob die automatische Skalierung aktiviert ist.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

Gilt für: