RelationalModelExtensions.GetCollation 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.
GetCollation(IModel) |
Returns the database collation. |
GetCollation(IReadOnlyModel) |
Returns the database collation. |
- Source:
- RelationalModelExtensions.cs
Returns the database collation.
public static string GetCollation (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetCollation : Microsoft.EntityFrameworkCore.Metadata.IModel -> string
<Extension()>
Public Function GetCollation (model As IModel) As String
Parameters
- model
- IModel
The model to get the collation for.
Returns
The collation.
Applies to
Entity Framework Core 5.0
Proizvod | Verzije |
---|---|
Entity Framework Core | 5.0 |
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
Returns the database collation.
public static string? GetCollation (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);
static member GetCollation : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel -> string
<Extension()>
Public Function GetCollation (model As IReadOnlyModel) As String
Parameters
- model
- IReadOnlyModel
The model to get the collation for.
Returns
The collation.
Applies to
Entity Framework Core 9.0 i druge verzije
Proizvod | Verzije |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Povratne informacije za Entity Framework
Entity Framework je projekat otvorenog koda. Izaberite vezu da biste pružili povratne informacije: