RelationalTypeBaseExtensions.GetSqlQuery(IReadOnlyTypeBase) Method

Definition

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

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

Parameters

typeBase
IReadOnlyTypeBase

The type.

Returns

The SQL string used to provide data for the type.

Applies to