Share via


SqlServerModelExtensions.GetDatabaseMaxSize Method

Definition

Overloads

GetDatabaseMaxSize(IModel)

Returns the maximum size of the database.

GetDatabaseMaxSize(IReadOnlyModel)

Returns the maximum size of the database.

GetDatabaseMaxSize(IModel)

Returns the maximum size of the database.

public static string GetDatabaseMaxSize (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetDatabaseMaxSize : Microsoft.EntityFrameworkCore.Metadata.IModel -> string
<Extension()>
Public Function GetDatabaseMaxSize (model As IModel) As String

Parameters

model
IModel

The model.

Returns

The maximum size of the database.

Applies to

GetDatabaseMaxSize(IReadOnlyModel)

Returns the maximum size of the database.

public static string? GetDatabaseMaxSize (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);
static member GetDatabaseMaxSize : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel -> string
<Extension()>
Public Function GetDatabaseMaxSize (model As IReadOnlyModel) As String

Parameters

model
IReadOnlyModel

The model.

Returns

The maximum size of the database.

Applies to