Share via


RelationalElementTypeExtensions.GetStoreType 方法

定义

重载

GetStoreType(IElementType)

返回元素的数据库类型。

GetStoreType(IReadOnlyElementType)

返回元素的数据库类型;如果找不到数据库类型, null 则返回 。

GetStoreType(IElementType)

返回元素的数据库类型。

public static string GetStoreType (this Microsoft.EntityFrameworkCore.Metadata.IElementType elementType);
static member GetStoreType : Microsoft.EntityFrameworkCore.Metadata.IElementType -> string
<Extension()>
Public Function GetStoreType (elementType As IElementType) As String

参数

elementType
IElementType

元素。

返回

元素的数据库类型。

适用于

GetStoreType(IReadOnlyElementType)

返回元素的数据库类型;如果找不到数据库类型, null 则返回 。

public static string? GetStoreType (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyElementType elementType);
static member GetStoreType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyElementType -> string
<Extension()>
Public Function GetStoreType (elementType As IReadOnlyElementType) As String

参数

elementType
IReadOnlyElementType

元素。

返回

元素的数据库类型; null 如果找不到数据库类型,则为 。

适用于