共用方式為


RelationalTypeMapper.GetColumnType(IProperty) 方法

定義

取得指定屬性的資料行類型。

protected abstract string GetColumnType (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
protected virtual string GetColumnType (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member GetColumnType : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
abstract member GetColumnType : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
override this.GetColumnType : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
Protected MustOverride Function GetColumnType (property As IProperty) As String
Protected Overridable Function GetColumnType (property As IProperty) As String

參數

property
IProperty

屬性。

傳回

資料庫類型的名稱。

適用於