Share via


DatabaseColumnExtensions.SetUnderlyingStoreType Method

Definition

Caution

Set storetype directly on DatabaseColumn.StoreType.

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

public static void SetUnderlyingStoreType (this Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseColumn column, string value);
[System.Obsolete("Set storetype directly on DatabaseColumn.StoreType.")]
public static void SetUnderlyingStoreType (this Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseColumn column, string value);
static member SetUnderlyingStoreType : Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseColumn * string -> unit
[<System.Obsolete("Set storetype directly on DatabaseColumn.StoreType.")>]
static member SetUnderlyingStoreType : Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseColumn * string -> unit
<Extension()>
Public Sub SetUnderlyingStoreType (column As DatabaseColumn, value As String)

Parameters

column
DatabaseColumn

The column.

value
String

The database/store type, or null if none.

Attributes

Applies to