mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 10:42:52 +08:00
- 优化 FromQuery SQL;
This commit is contained in:
parent
6bbe5aa514
commit
65d0ac6185
@ -800,14 +800,5 @@
|
||||
<param name="that"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.Extensions.DependencyInjection.FreeSqlRepositoryDependencyInjection.AddFreeRepository(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Action{FreeSql.FluentDataFilter},System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
批量注入 Repository,可以参考代码自行调整
|
||||
</summary>
|
||||
<param name="services"></param>
|
||||
<param name="globalDataFilter"></param>
|
||||
<param name="assemblies"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
@ -135,11 +135,8 @@ namespace FreeSql.Internal.CommonProvider
|
||||
string sql2 = null;
|
||||
if (select2sp._diymemexpWithTempQuery == null)
|
||||
{
|
||||
if (select2sp._tableRule == null && select2sp.IsDefaultSqlContent == true)
|
||||
{
|
||||
rettbs[1].Table = select2sp._tables[0].Table;
|
||||
if (select2sp._tableRule == null && select2sp._tables[0].Table.Type == typeof(T2) && select2sp.IsDefaultSqlContent == true)
|
||||
return ret;
|
||||
}
|
||||
sql2 = select2?.ToSql(a => a, FieldAliasOptions.AsProperty);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user