PropertyBaseExtensions.Format Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.IReadOnlyPropertyBase> properties, bool includeTypes = false);
static member Format : seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase> * bool -> string
<Extension()>
Public Function Format (properties As IEnumerable(Of IReadOnlyPropertyBase), Optional includeTypes As Boolean = false) As String
Parameters
- properties
- IEnumerable<IReadOnlyPropertyBase>
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework