Skip to content

Commit 1bbf00a

Browse files
committed
update summary
1 parent 8373411 commit 1bbf00a

File tree

11 files changed

+77
-90
lines changed

11 files changed

+77
-90
lines changed

FreeSql.DbContext/FreeSql.DbContext.xml

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FreeSql.Tests/FreeSql.Tests/AppSetting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ public bool Autologin
917917
public bool FormMiniWebAppAutoLoadOrderDetails { get => formMiniWebAppAutoLoadOrderDetails; set { if (SetProperty(ref formMiniWebAppAutoLoadOrderDetails, value)) SaveAI(); } }
918918

919919
/// <summary>
920-
/// 使用会员卡&优惠券窗口自动关闭
920+
/// 使用会员卡优惠券窗口自动关闭
921921
/// </summary>
922922
bool formUsingCouponAutoClose = true;
923923
[DisplayName("自动关闭")]

FreeSql.Tests/FreeSql.Tests/FreeSql.Tests.xml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FreeSql/FreeSql.xml

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FreeSql/Interface/Curd/IDelete.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public interface IDelete<T1>
4545
/// <returns></returns>
4646
IDelete<T1> WhereIf(bool condition, Expression<Func<T1, bool>> exp);
4747
/// <summary>
48-
/// 原生sql语法条件,Where("id = ?id", new { id = 1 })<para></para>
48+
/// 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
4949
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
5050
/// </summary>
5151
/// <param name="sql">sql语法条件</param>

FreeSql/Interface/Curd/ISelect/ISelect0.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -238,23 +238,23 @@ public partial interface ISelect0<TSelect, T1> : ISelect0
238238
TSelect RightJoin<T2>(Expression<Func<T1, T2, bool>> exp);
239239

240240
/// <summary>
241-
/// 左联查询,使用原生sql语法,LeftJoin("type b on b.id = a.id and b.clicks > ?clicks", new { clicks = 1 })<para></para>
241+
/// 左联查询,使用原生sql语法,LeftJoin("type b on b.id = a.id and b.clicks > @clicks", new { clicks = 1 })<para></para>
242242
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
243243
/// </summary>
244244
/// <param name="sql">sql语法条件</param>
245245
/// <param name="parms">参数</param>
246246
/// <returns></returns>
247247
TSelect LeftJoin(string sql, object parms = null);
248248
/// <summary>
249-
/// 联接查询,使用原生sql语法,InnerJoin("type b on b.id = a.id and b.clicks > ?clicks", new { clicks = 1 })<para></para>
249+
/// 联接查询,使用原生sql语法,InnerJoin("type b on b.id = a.id and b.clicks > @clicks", new { clicks = 1 })<para></para>
250250
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
251251
/// </summary>
252252
/// <param name="sql">sql语法条件</param>
253253
/// <param name="parms">参数</param>
254254
/// <returns></returns>
255255
TSelect InnerJoin(string sql, object parms = null);
256256
/// <summary>
257-
/// 右联查询,使用原生sql语法,RightJoin("type b on b.id = a.id and b.clicks > ?clicks", new { clicks = 1 })<para></para>
257+
/// 右联查询,使用原生sql语法,RightJoin("type b on b.id = a.id and b.clicks > @clicks", new { clicks = 1 })<para></para>
258258
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
259259
/// </summary>
260260
/// <param name="sql">sql语法条件</param>
@@ -270,15 +270,15 @@ public partial interface ISelect0<TSelect, T1> : ISelect0
270270
TSelect RawJoin(string sql);
271271

272272
/// <summary>
273-
/// 原生sql语法条件,Where("id = ?id", new { id = 1 })<para></para>
273+
/// 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
274274
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
275275
/// </summary>
276276
/// <param name="sql">sql语法条件</param>
277277
/// <param name="parms">参数</param>
278278
/// <returns></returns>
279279
TSelect Where(string sql, object parms = null);
280280
/// <summary>
281-
/// 原生sql语法条件,WhereIf(true, "id = ?id", new { id = 1 })<para></para>
281+
/// 原生sql语法条件,WhereIf(true, "id = @id", new { id = 1 })<para></para>
282282
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
283283
/// </summary>
284284
/// <param name="condition">true 时生效</param>
@@ -318,15 +318,15 @@ public partial interface ISelect0<TSelect, T1> : ISelect0
318318
TSelect ForUpdate(bool nowait = false);
319319

320320
/// <summary>
321-
/// 按原生sql语法分组,GroupBy("concat(name, ?cc)", new { cc = 1 })<para></para>
321+
/// 按原生sql语法分组,GroupBy("concat(name, @cc)", new { cc = 1 })<para></para>
322322
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
323323
/// </summary>
324324
/// <param name="sql">sql语法</param>
325325
/// <param name="parms">参数</param>
326326
/// <returns></returns>
327327
TSelect GroupBy(string sql, object parms = null);
328328
/// <summary>
329-
/// 按原生sql语法聚合条件过滤,Having("count(name) = ?cc", new { cc = 1 })<para></para>
329+
/// 按原生sql语法聚合条件过滤,Having("count(name) = @cc", new { cc = 1 })<para></para>
330330
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
331331
/// </summary>
332332
/// <param name="sql">sql语法条件</param>
@@ -335,15 +335,15 @@ public partial interface ISelect0<TSelect, T1> : ISelect0
335335
TSelect Having(string sql, object parms = null);
336336

337337
/// <summary>
338-
/// 按原生sql语法排序,OrderBy("count(name) + ?cc desc", new { cc = 1 })<para></para>
338+
/// 按原生sql语法排序,OrderBy("count(name) + @cc desc", new { cc = 1 })<para></para>
339339
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
340340
/// </summary>
341341
/// <param name="sql">sql语法</param>
342342
/// <param name="parms">参数</param>
343343
/// <returns></returns>
344344
TSelect OrderBy(string sql, object parms = null);
345345
/// <summary>
346-
/// 按原生sql语法排序,OrderBy(true, "count(name) + ?cc desc", new { cc = 1 })<para></para>
346+
/// 按原生sql语法排序,OrderBy(true, "count(name) + @cc desc", new { cc = 1 })<para></para>
347347
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
348348
/// </summary>
349349
/// <param name="condition">true 时生效</param>

FreeSql/Interface/Curd/ISelect/ISelect1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public interface ISelect<T1> : ISelect0<ISelect<T1>, T1>
360360
/// <summary>
361361
/// 实现 select .. from ( select ... from t ) a 这样的功能<para></para>
362362
/// 使用 AsTable 方法也可以达到效果<para></para>
363-
/// 示例:WithSql("select * from id=?id", new { id = 1 })<para></para>
363+
/// 示例:WithSql("select * from id=@id", new { id = 1 })<para></para>
364364
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
365365
/// </summary>
366366
/// <param name="sql">SQL语句</param>

FreeSql/Interface/Curd/ISelect/ISelect2`16.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-

2-
using FreeSql.Internal.Model;
1+
using FreeSql.Internal.Model;
32
using System;
43
using System.Collections.Generic;
54
using System.Data;
@@ -10,13 +9,6 @@
109
namespace FreeSql
1110
{
1211

13-
14-
15-
16-
17-
18-
19-
2012
public interface ISelect<T1, T2> : ISelect0<ISelect<T1, T2>, T1> where T2 : class
2113
{
2214

FreeSql/Interface/Curd/IUpdate.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public interface IUpdate<T1>
151151
/// <returns></returns>
152152
IUpdate<T1> SetIf<TMember>(bool condition, Expression<Func<T1, TMember>> exp);
153153
/// <summary>
154-
/// 设置值,自定义SQL语法,SetRaw("title = ?title", new { title = "newtitle" })<para></para>
154+
/// 设置值,自定义SQL语法,SetRaw("title = @title", new { title = "newtitle" })<para></para>
155155
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
156156
/// </summary>
157157
/// <param name="sql">sql语法</param>
@@ -185,7 +185,7 @@ public interface IUpdate<T1>
185185
/// <returns></returns>
186186
IUpdate<T1> WhereIf(bool condition, Expression<Func<T1, bool>> exp);
187187
/// <summary>
188-
/// 原生sql语法条件,Where("id = ?id", new { id = 1 })<para></para>
188+
/// 原生sql语法条件,Where("id = @id", new { id = 1 })<para></para>
189189
/// 提示:parms 参数还可以传 Dictionary&lt;string, object&gt;
190190
/// </summary>
191191
/// <param name="sql">sql语法条件</param>

0 commit comments

Comments
 (0)