RelationalEntityTypeExtensions.GetSqlQuery Method

Definition

Overloads

GetSqlQuery(IReadOnlyEntityType)

Returns the SQL string used to provide data for the entity type or null if not mapped to a SQL string.

GetSqlQuery(IEntityType)

Returns the SQL string used to provide data for the entity type or null if not mapped to a SQL string.

GetSqlQuery(IReadOnlyEntityType)

Returns the SQL string used to provide data for the entity type or null if not mapped to a SQL string.

public static string? GetSqlQuery (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetSqlQuery : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetSqlQuery (entityType As IReadOnlyEntityType) As String

Parameters

entityType
IReadOnlyEntityType

The entity type.

Returns

The SQL string used to provide data for the entity type.

Applies to

GetSqlQuery(IEntityType)

Returns the SQL string used to provide data for the entity type or null if not mapped to a SQL string.

public static string GetSqlQuery (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetSqlQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetSqlQuery (entityType As IEntityType) As String

Parameters

entityType
IEntityType

The entity type.

Returns

The SQL string used to provide data for the entity type.

Applies to