RelationalPropertyExtensions.GetColumnType Method

Definition

Overloads

GetColumnType(IReadOnlyProperty, StoreObjectIdentifier)

Returns the database type of the column to which the property is mapped, or null if the database type could not be found.

GetColumnType(IProperty, StoreObjectIdentifier)

Returns the database type of the column to which the property is mapped.

GetColumnType(IProperty)

Returns the database type of the column to which the property is mapped.

GetColumnType(IReadOnlyProperty)

Returns the database type of the column to which the property is mapped, or null if the database type could not be found.

GetColumnType(IReadOnlyProperty, StoreObjectIdentifier)

Returns the database type of the column to which the property is mapped, or null if the database type could not be found.

public static string? GetColumnType (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetColumnType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetColumnType (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 database type of the column to which the property is mapped, or null if the database type could not be found.

Applies to

GetColumnType(IProperty, StoreObjectIdentifier)

Returns the database type of the column to which the property is mapped.

public static string GetColumnType (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetColumnType : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetColumnType (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 database type of the column to which the property is mapped.

Applies to

GetColumnType(IProperty)

Returns the database type of the column to which the property is mapped.

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

Parameters

property
IProperty

The property.

Returns

The database type of the column to which the property is mapped.

Applies to

GetColumnType(IReadOnlyProperty)

Returns the database type of the column to which the property is mapped, or null if the database type could not be found.

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

Parameters

property
IReadOnlyProperty

The property.

Returns

The database type of the column to which the property is mapped, or null if the database type could not be found.

Applies to