CosmosEntityTypeExtensions.SetThroughput Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
SetThroughput(IMutableEntityType, Nullable<Int32>, Nullable<Boolean>) |
Imposta la velocità effettiva di cui è stato effettuato il provisioning nell'ambito del contenitore. |
SetThroughput(IConventionEntityType, Nullable<Int32>, Nullable<Boolean>, Boolean) |
Imposta la velocità effettiva di cui è stato effettuato il provisioning nell'ambito del contenitore. |
SetThroughput(IMutableEntityType, Nullable<Int32>, Nullable<Boolean>)
Imposta la velocità effettiva di cui è stato effettuato il provisioning nell'ambito del contenitore.
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))
Parametri
- entityType
- IMutableEntityType
Tipo di entità.
Si applica a
SetThroughput(IConventionEntityType, Nullable<Int32>, Nullable<Boolean>, Boolean)
Imposta la velocità effettiva di cui è stato effettuato il provisioning nell'ambito del contenitore.
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)
Parametri
- entityType
- IConventionEntityType
Tipo di entità.
- fromDataAnnotation
- Boolean
Indica se la configurazione è stata specificata usando un'annotazione dati.
Restituisce
Si applica a
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per