Class SqlQueryExtensions
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Extension methods for ISqlQuery.
public static class SqlQueryExtensions
- Inheritance
-
SqlQueryExtensions
- Inherited Members
Fields
DefaultQueryNameBase
Gets the name used for the ISqlQuery mapped using RelationalEntityTypeBuilderExtensions.ToSqlQuery.
public static readonly string DefaultQueryNameBase
Field Value
Methods
ToDebugString(ISqlQuery, 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 ISqlQuery sqlQuery, MetadataDebugStringOptions options, int indent = 0)
Parameters
sqlQuery
ISqlQueryThe metadata item.
options
MetadataDebugStringOptionsOptions for generating the string.
indent
intThe number of indent spaces to use before each new line.
Returns
- string
A human-readable representation.