Share via


DatabaseColumnExtensions.GetUnderlyingStoreType(DatabaseColumn) Method

Definition

Caution

Set storetype directly on DatabaseColumn.StoreType.

Gets the underlying store/database type for the given column.

public static string GetUnderlyingStoreType (this Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseColumn column);
[System.Obsolete("Set storetype directly on DatabaseColumn.StoreType.")]
public static string GetUnderlyingStoreType (this Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseColumn column);
static member GetUnderlyingStoreType : Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseColumn -> string
[<System.Obsolete("Set storetype directly on DatabaseColumn.StoreType.")>]
static member GetUnderlyingStoreType : Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseColumn -> string
<Extension()>
Public Function GetUnderlyingStoreType (column As DatabaseColumn) As String

Parameters

column
DatabaseColumn

The column.

Returns

The database/store type, or null if none has been set.

Attributes

Applies to