SqlServerModelExtensions.GetDatabaseMaxSize Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GetDatabaseMaxSize(IModel) |
Returns the maximum size of the database. |
GetDatabaseMaxSize(IReadOnlyModel) |
Returns the maximum size of the database. |
- Source:
- SqlServerModelExtensions.cs
- Source:
- SqlServerModelExtensions.cs
Returns the maximum size of the database.
C#
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
Entity Framework Core 5.0 ja Entity Framework Core 3.1
Toode | Versioonid |
---|---|
Entity Framework Core | 3.1, 5.0 |
- 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);
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
Entity Framework Core 9.0 ja muud versioonid
Toode | Versioonid |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.
Toote „Entity Framework“ tagasiside
Entity Framework on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: