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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework