CosmosModelExtensions.SetThroughput Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
SetThroughput(IMutableModel, Nullable<Int32>, Nullable<Boolean>) |
Mengatur throughput yang disediakan pada cakupan database. |
SetThroughput(IConventionModel, Nullable<Int32>, Nullable<Boolean>, Boolean) |
Mengatur throughput yang disediakan pada cakupan database. |
SetThroughput(IMutableModel, Nullable<Int32>, Nullable<Boolean>)
Mengatur throughput yang disediakan pada cakupan database.
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))
Parameter
- model
- IMutableModel
Model.
Berlaku untuk
SetThroughput(IConventionModel, Nullable<Int32>, Nullable<Boolean>, Boolean)
Mengatur throughput yang disediakan pada cakupan database.
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)
Parameter
- model
- IConventionModel
Model.
- fromDataAnnotation
- Boolean
Menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.
Mengembalikan
Berlaku untuk
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Entity Framework