SqlExpressionFactory.Fragment(String) Method

Definition

Creates a new SqlFragmentExpression which represents a SQL token.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFragmentExpression Fragment (string sql);
abstract member Fragment : string -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFragmentExpression
override this.Fragment : string -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFragmentExpression
Public Overridable Function Fragment (sql As String) As SqlFragmentExpression

Parameters

sql
String

A string token to print in SQL tree.

Returns

An expression representing a SQL token.

Implements

Applies to