Compartir a través de


SqlServerModelExtensions.SetDatabaseMaxSize Método

Definición

Sobrecargas

SetDatabaseMaxSize(IMutableModel, String)

Establece el tamaño máximo de la base de datos.

SetDatabaseMaxSize(IConventionModel, String, Boolean)

Establece el tamaño máximo de la base de datos.

SetDatabaseMaxSize(IMutableModel, String)

Establece el tamaño máximo de la base de datos.

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)

Parámetros

model
IMutableModel

Modelo.

value
String

Valor que se va a establecer.

Se aplica a

SetDatabaseMaxSize(IConventionModel, String, Boolean)

Establece el tamaño máximo de la base de datos.

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

Parámetros

model
IConventionModel

Modelo.

value
String

Valor que se va a establecer.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

El valor configurado.

Se aplica a