Compartir a través de


CosmosEntityTypeExtensions.SetThroughput Método

Definición

Sobrecargas

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

Establece el rendimiento aprovisionado en el ámbito del contenedor.

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

Establece el rendimiento aprovisionado en el ámbito del contenedor.

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

Establece el rendimiento aprovisionado en el ámbito del contenedor.

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

Parámetros

entityType
IMutableEntityType

El tipo de entidad.

throughput
Nullable<Int32>

Rendimiento que se va a establecer.

autoscale
Nullable<Boolean>

Indica si la escalabilidad automática está habilitada.

Se aplica a

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

Establece el rendimiento aprovisionado en el ámbito del contenedor.

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)

Parámetros

entityType
IConventionEntityType

El tipo de entidad.

throughput
Nullable<Int32>

Rendimiento que se va a establecer.

autoscale
Nullable<Boolean>

Indica si la escalabilidad automática está habilitada.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

Se aplica a