Language

ISqlExpressionFactory.Fragment メソッド

定義

オーバーロード

Name 説明
Fragment(String)

SQL トークンを表す新しい SqlExpression を作成します。

Fragment(String, Type, RelationalTypeMapping)

SQL トークンを表す新しい SqlExpression を作成します。

Fragment(String)

ソース:
ISqlExpressionFactory.cs
ソース:
ISqlExpressionFactory.cs
ソース:
ISqlExpressionFactory.cs

SQL トークンを表す新しい SqlExpression を作成します。

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

パラメーター

sql
String

SQL ツリーに出力する文字列トークン。

戻り値

SQL トークンを表す式。

適用対象

Fragment(String, Type, RelationalTypeMapping)

ソース:
ISqlExpressionFactory.cs
ソース:
ISqlExpressionFactory.cs

SQL トークンを表す新しい SqlExpression を作成します。

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Fragment(string sql, Type? type = default, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Fragment : string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function Fragment (sql As String, Optional type As Type = Nothing, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression

パラメーター

sql
String

SQL ツリーに出力する文字列トークン。

type
Type

式の Type 。 既定値は void です。

typeMapping
RelationalTypeMapping

式に関連付けられている RelationalTypeMapping 。

戻り値

SQL トークンを表す式。

適用対象