TypeExtensions.ShortDisplayName(Type) Method

Definition

Generates a short, human-readable name of the type such as is suitable for exception messages, etc.

Notes that this name should be used for display purposes only. It is not the same string as the entity type name in the model.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

public static string ShortDisplayName (this Type type);
static member ShortDisplayName : Type -> string
<Extension()>
Public Function ShortDisplayName (type As Type) As String

Parameters

type
Type

The type.

Returns

The human-readable name.

Applies to