Table of Contents

Interface ISqlQueryMapping

Namespace
Microsoft.EntityFrameworkCore.Metadata
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Represents entity type mapping to a SQL query.

public interface ISqlQueryMapping : ITableMappingBase, IAnnotatable
Inherited Members
Extension Methods

Properties

ColumnMappings

Gets the properties mapped to columns on the target SQL query.

IEnumerable<ISqlQueryColumnMapping> ColumnMappings { get; }

Property Value

IEnumerable<ISqlQueryColumnMapping>

IsDefaultSqlQueryMapping

Gets the value indicating whether this is the SQL query mapping that should be used when the entity type is queried.

bool IsDefaultSqlQueryMapping { get; set; }

Property Value

bool

SqlQuery

Gets the target SQL query.

ISqlQuery SqlQuery { get; }

Property Value

ISqlQuery