Class SequenceExtensions
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Extension methods for ISequence.
public static class SequenceExtensions
- Inheritance
-
SequenceExtensions
- Inherited Members
Methods
ToDebugString(ISequence, MetadataDebugStringOptions, int)
Creates a human-readable representation of the given metadata.
Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.
public static string ToDebugString(this ISequence sequence, MetadataDebugStringOptions options, int indent = 0)
Parameters
sequenceISequenceThe metadata item.
optionsMetadataDebugStringOptionsOptions for generating the string.
indentintThe number of indent spaces to use before each new line.
Returns
- string
A human-readable representation.