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)

Source:
SqlServerModelExtensions.cs
Source:
SqlServerModelExtensions.cs

Returns the maximum size of the database.

C#
public static string GetDatabaseMaxSize (this Microsoft.EntityFrameworkCore.Metadata.IModel model);

Parameters

model
IModel

The model.

Returns

The maximum size of the database.

Applies to

Entity Framework Core 5.0 ja Entity Framework Core 3.1
Toode Versioonid
Entity Framework Core 3.1, 5.0

GetDatabaseMaxSize(IReadOnlyModel)

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

Returns the maximum size of the database.

C#
public static string? GetDatabaseMaxSize (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);

Parameters

model
IReadOnlyModel

The model.

Returns

The maximum size of the database.

Applies to

Entity Framework Core 9.0 ja muud versioonid
Toode Versioonid
Entity Framework Core 6.0, 7.0, 8.0, 9.0