DatabaseColumnExtensions.SetUnderlyingStoreType Method
Definition
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework