CosmosModelExtensions.SetThroughput Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetThroughput(IMutableModel, Nullable<Int32>, Nullable<Boolean>) |
Sets the provisioned throughput at database scope. |
SetThroughput(IConventionModel, Nullable<Int32>, Nullable<Boolean>, Boolean) |
Sets the provisioned throughput at database scope. |
SetThroughput(IMutableModel, Nullable<Int32>, Nullable<Boolean>)
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
Sets the provisioned throughput at database scope.
public static void SetThroughput (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, int? throughput, bool? autoscale);
static member SetThroughput : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Nullable<int> * Nullable<bool> -> unit
<Extension()>
Public Sub SetThroughput (model As IMutableModel, throughput As Nullable(Of Integer), autoscale As Nullable(Of Boolean))
Parameters
- model
- IMutableModel
The model.
Applies to
SetThroughput(IConventionModel, Nullable<Int32>, Nullable<Boolean>, Boolean)
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
- Source:
- CosmosModelExtensions.cs
Sets the provisioned throughput at database scope.
public static int? SetThroughput (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, int? throughput, bool? autoscale, bool fromDataAnnotation = false);
static member SetThroughput : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Nullable<int> * Nullable<bool> * bool -> Nullable<int>
<Extension()>
Public Function SetThroughput (model As IConventionModel, throughput As Nullable(Of Integer), autoscale As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
Parameters
- model
- IConventionModel
The model.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Entity Framework