共用方式為


DefaultQuerySqlGenerator.GenerateFromSql 方法

定義

產生對應至 FromSql 查詢的 SQL。

protected virtual void GenerateFromSql (string sql, System.Linq.Expressions.Expression arguments, System.Collections.Generic.IReadOnlyDictionary<string,object> parameters);
abstract member GenerateFromSql : string * System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> unit
override this.GenerateFromSql : string * System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> unit
Protected Overridable Sub GenerateFromSql (sql As String, arguments As Expression, parameters As IReadOnlyDictionary(Of String, Object))

參數

sql
String

FromSql SQL 查詢。

arguments
Expression

引數。

parameters
IReadOnlyDictionary<String,Object>

此查詢的參數。

適用於