共用方式為


RelationalTypeMapper.GetStringMapping(IProperty) 方法

定義

取得指定字串屬性的關係資料庫類型。

protected virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetStringMapping (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member GetStringMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.GetStringMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Protected Overridable Function GetStringMapping (property As IProperty) As RelationalTypeMapping

參數

property
IProperty

要為其取得對應的屬性。

傳回

要使用的型別對應。

適用於