語言

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>

這個查詢的參數。

適用於