RelationalPropertyExtensions.GetCollation Method

Definition

Overloads

GetCollation(IReadOnlyProperty, StoreObjectIdentifier)

Returns the collation to be used for the column.

GetCollation(IProperty, StoreObjectIdentifier)

Returns the collation to be used for the column.

GetCollation(IProperty)

Returns the collation to be used for the column.

GetCollation(IReadOnlyProperty)

Returns the collation to be used for the column.

GetCollation(IReadOnlyProperty, StoreObjectIdentifier)

Returns the collation to be used for the column.

public static string? GetCollation (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetCollation : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetCollation (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As String

Parameters

property
IReadOnlyProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the table-like store object containing the column.

Returns

The collation for the column this property is mapped to.

Applies to

GetCollation(IProperty, StoreObjectIdentifier)

Returns the collation to be used for the column.

public static string GetCollation (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetCollation : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetCollation (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As String

Parameters

property
IProperty

The property.

storeObject
StoreObjectIdentifier

The identifier of the table-like store object containing the column.

Returns

The collation for the column this property is mapped to.

Applies to

GetCollation(IProperty)

Returns the collation to be used for the column.

public static string GetCollation (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetCollation : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetCollation (property As IProperty) As String

Parameters

property
IProperty

The property.

Returns

The collation for the column this property is mapped to.

Applies to

GetCollation(IReadOnlyProperty)

Returns the collation to be used for the column.

public static string? GetCollation (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetCollation : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetCollation (property As IReadOnlyProperty) As String

Parameters

property
IReadOnlyProperty

The property.

Returns

The collation for the column this property is mapped to.

Applies to