Aracılığıyla paylaş


SqlServerModelExtensions.SetDatabaseMaxSize Yöntem

Tanım

Aşırı Yüklemeler

SetDatabaseMaxSize(IMutableModel, String)

Veritabanının en büyük boyutunu ayarlar.

SetDatabaseMaxSize(IConventionModel, String, Boolean)

Veritabanının en büyük boyutunu ayarlar.

SetDatabaseMaxSize(IMutableModel, String)

Veritabanının en büyük boyutunu ayarlar.

public static void SetDatabaseMaxSize (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string value);
public static void SetDatabaseMaxSize (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string? value);
static member SetDatabaseMaxSize : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> unit
<Extension()>
Public Sub SetDatabaseMaxSize (model As IMutableModel, value As String)

Parametreler

model
IMutableModel

Model.

value
String

Ayarlanacak değer.

Şunlara uygulanır

SetDatabaseMaxSize(IConventionModel, String, Boolean)

Veritabanının en büyük boyutunu ayarlar.

public static void SetDatabaseMaxSize (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string value, bool fromDataAnnotation = false);
public static string SetDatabaseMaxSize (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string value, bool fromDataAnnotation = false);
public static string? SetDatabaseMaxSize (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string? value, bool fromDataAnnotation = false);
static member SetDatabaseMaxSize : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * bool -> unit
static member SetDatabaseMaxSize : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * bool -> string
<Extension()>
Public Sub SetDatabaseMaxSize (model As IConventionModel, value As String, Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetDatabaseMaxSize (model As IConventionModel, value As String, Optional fromDataAnnotation As Boolean = false) As String

Parametreler

model
IConventionModel

Model.

value
String

Ayarlanacak değer.

fromDataAnnotation
Boolean

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

Döndürülenler

Yapılandırılan değer.

Şunlara uygulanır