Partager via


SqlServerModelExtensions.SetDatabaseMaxSize Méthode

Définition

Surcharges

SetDatabaseMaxSize(IMutableModel, String)

Définit la taille maximale de la base de données.

SetDatabaseMaxSize(IConventionModel, String, Boolean)

Définit la taille maximale de la base de données.

SetDatabaseMaxSize(IMutableModel, String)

Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs

Définit la taille maximale de la base de données.

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)

Paramètres

model
IMutableModel

Modèle.

value
String

Valeur à définir.

S’applique à

SetDatabaseMaxSize(IConventionModel, String, Boolean)

Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs

Définit la taille maximale de la base de données.

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

Paramètres

model
IConventionModel

Modèle.

value
String

Valeur à définir.

fromDataAnnotation
Boolean

Indique si la configuration a été spécifiée à l’aide d’une annotation de données.

Retours

Valeur configurée.

S’applique à