RelationalElementTypeExtensions.GetStoreType 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetStoreType(IElementType) |
返回元素的数据库类型。 |
GetStoreType(IReadOnlyElementType) |
返回元素的数据库类型;如果找不到数据库类型, |
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
如果找不到数据库类型,则为 。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈