Interface ISqlQueryColumnMapping
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents property mapping to a SQL query column.
public interface ISqlQueryColumnMapping : IColumnMappingBase, IAnnotatable, IReadOnlyAnnotatable
- Inherited Members
Remarks
See Executing raw SQL commands with EF Core for more information and examples.
Properties
Column
Gets the target column.
ISqlQueryColumn Column { get; }
Property Value
SqlQueryMapping
Gets the containing SQL query mapping.
ISqlQueryMapping SqlQueryMapping { get; }
Property Value
Methods
ToDebugString(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.
string ToDebugString(MetadataDebugStringOptions options = 0, int indent = 0)
Parameters
optionsMetadataDebugStringOptionsOptions for generating the string.
indentintThe number of indent spaces to use before each new line.
Returns
- string
A human-readable representation.