CosmosEntityTypeExtensions.SetThroughput Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
SetThroughput(IMutableEntityType, Nullable<Int32>, Nullable<Boolean>) |
Ustawia aprowizowaną przepływność w zakresie kontenera. |
SetThroughput(IConventionEntityType, Nullable<Int32>, Nullable<Boolean>, Boolean) |
Ustawia aprowizowaną przepływność w zakresie kontenera. |
SetThroughput(IMutableEntityType, Nullable<Int32>, Nullable<Boolean>)
Ustawia aprowizowaną przepływność w zakresie kontenera.
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))
Parametry
- entityType
- IMutableEntityType
Typ jednostki.
Dotyczy
SetThroughput(IConventionEntityType, Nullable<Int32>, Nullable<Boolean>, Boolean)
Ustawia aprowizowaną przepływność w zakresie kontenera.
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)
Parametry
- entityType
- IConventionEntityType
Typ jednostki.
- fromDataAnnotation
- Boolean
Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.
Zwraca
Dotyczy
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla