SqlServerModelExtensions.SetDatabaseMaxSize Método

Definição

Sobrecargas

SetDatabaseMaxSize(IMutableModel, String)

Define o tamanho máximo do banco de dados.

SetDatabaseMaxSize(IConventionModel, String, Boolean)

Define o tamanho máximo do banco de dados.

SetDatabaseMaxSize(IMutableModel, String)

Define o tamanho máximo do banco de dados.

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

O modelo.

value
String

O valor a ser definido.

Aplica-se a

SetDatabaseMaxSize(IConventionModel, String, Boolean)

Define o tamanho máximo do banco de dados.

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

O modelo.

value
String

O valor a ser definido.

fromDataAnnotation
Boolean

Indica se a configuração foi especificada usando uma anotação de dados.

Retornos

O valor configurado.

Aplica-se a