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
Entity Framework
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk