Aracılığıyla paylaş


CosmosEntityTypeExtensions.SetThroughput Yöntem

Tanım

Aşırı Yüklemeler

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

Kapsayıcı kapsamında sağlanan aktarım hızını ayarlar.

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

Kapsayıcı kapsamında sağlanan aktarım hızını ayarlar.

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

Kapsayıcı kapsamında sağlanan aktarım hızını ayarlar.

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

Parametreler

entityType
IMutableEntityType

Varlık türü.

throughput
Nullable<Int32>

Ayarlanacağı aktarım hızı.

autoscale
Nullable<Boolean>

Otomatik ölçeklendirmenin etkinleştirilip etkinleştirilmediği.

Şunlara uygulanır

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

Kapsayıcı kapsamında sağlanan aktarım hızını ayarlar.

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)

Parametreler

entityType
IConventionEntityType

Varlık türü.

throughput
Nullable<Int32>

Ayarlanacağı aktarım hızı.

autoscale
Nullable<Boolean>

Otomatik ölçeklendirmenin etkinleştirilip etkinleştirilmediği.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmedidiğini gösterir.

Döndürülenler

Şunlara uygulanır