PropertyExtensions.Format(IEnumerable<IPropertyBase>, Boolean) Method

Definition

Creates a formatted string representation of the given properties such as is useful when throwing exceptions about keys, indexes, etc. that use the properties.

public static string Format (this System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> properties, bool includeTypes = false);
static member Format : seq<Microsoft.EntityFrameworkCore.Metadata.IPropertyBase> * bool -> string
<Extension()>
Public Function Format (properties As IEnumerable(Of IPropertyBase), Optional includeTypes As Boolean = false) As String

Parameters

properties
IEnumerable<IPropertyBase>

The properties to format.

includeTypes
Boolean

If true, then type names are included in the string. The default is false.

Returns

The string representation.

Applies to