EntityTypeExtensions.ShortName(ITypeBase) 方法

定义

获取给定 的 ITypeBase 短名称,该名称可在其他标识符中使用。

[System.Diagnostics.DebuggerStepThrough]
public static string ShortName (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase type);
[<System.Diagnostics.DebuggerStepThrough>]
static member ShortName : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> string
<Extension()>
Public Function ShortName (type As ITypeBase) As String

参数

type
ITypeBase

实体类型。

返回

短名称。

属性

适用于