mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
code optimization
This commit is contained in:
@@ -1794,7 +1794,7 @@ namespace SqlSugar
|
|||||||
protected List<TResult> _ToList<TResult>()
|
protected List<TResult> _ToList<TResult>()
|
||||||
{
|
{
|
||||||
List<TResult> result = null;
|
List<TResult> result = null;
|
||||||
var sqlObj = this.ToSql();
|
var sqlObj = this._ToSql();
|
||||||
if (IsCache)
|
if (IsCache)
|
||||||
{
|
{
|
||||||
var cacheService = this.Context.CurrentConnectionConfig.ConfigureExternalServices.DataInfoCacheService;
|
var cacheService = this.Context.CurrentConnectionConfig.ConfigureExternalServices.DataInfoCacheService;
|
||||||
|
Reference in New Issue
Block a user