CosmosEntityTypeExtensions.SetThroughput Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
SetThroughput(IMutableEntityType, Nullable<Int32>, Nullable<Boolean>) |
Legt den bereitgestellten Durchsatz im Containerbereich fest. |
SetThroughput(IConventionEntityType, Nullable<Int32>, Nullable<Boolean>, Boolean) |
Legt den bereitgestellten Durchsatz im Containerbereich fest. |
SetThroughput(IMutableEntityType, Nullable<Int32>, Nullable<Boolean>)
Legt den bereitgestellten Durchsatz im Containerbereich fest.
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))
Parameter
- entityType
- IMutableEntityType
Der Entitätstyp.
Gilt für:
SetThroughput(IConventionEntityType, Nullable<Int32>, Nullable<Boolean>, Boolean)
Legt den bereitgestellten Durchsatz im Containerbereich fest.
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)
Parameter
- entityType
- IConventionEntityType
Der Entitätstyp.
- fromDataAnnotation
- Boolean
Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.
Gibt zurück
Gilt für:
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für