Class PropertyBaseExtensions
- Namespace
- Microsoft.EntityFrameworkCore
- Assembly
- Microsoft.EntityFrameworkCore.dll
Extension methods for IReadOnlyPropertyBase.
public static class PropertyBaseExtensions
- Inheritance
-
PropertyBaseExtensions
- Inherited Members
Methods
Format(IEnumerable<IReadOnlyPropertyBase>, bool)
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 IEnumerable<IReadOnlyPropertyBase> properties, bool includeTypes = false)
Parameters
properties
IEnumerable<IReadOnlyPropertyBase>The properties to format.
includeTypes
boolIf true, then type names are included in the string. The default is false.
Returns
- string
The string representation.