- 优化 BaseEntity 查询数据时自动 Attach;

This commit is contained in:
28810
2019-12-18 21:18:24 +08:00
parent e2624ed8ee
commit a357ee4975
6 changed files with 172 additions and 167 deletions

View File

@ -124,7 +124,7 @@ namespace FreeSql
TSelect AsTable(Func<Type, string, string> tableRule);
/// <summary>
/// 设置别名规则,可用于拦截表别名,实现类似 sqlserver 的 with(nolock) 需求<para></para>
/// 如select.AsAlias((_, oldAlias) => oldAlias + " with(lock)")
/// 如select.AsAlias((_, old) => $"{old} with(lock)")
/// </summary>
/// <param name="aliasRule"></param>
/// <returns></returns>