mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	add ToTreeList tests #268
This commit is contained in:
		@@ -249,7 +249,7 @@ namespace FreeSql.SqlServer.Curd
 | 
			
		||||
        #endregion
 | 
			
		||||
 | 
			
		||||
        public SqlServerSelect(IFreeSql orm, CommonUtils commonUtils, CommonExpression commonExpression, object dywhere) : base(orm, commonUtils, commonExpression, dywhere) {
 | 
			
		||||
            if (FreeSqlSqlServerGlobalExtensions._dicSetGlobalSelectWithLock.TryGetValue(orm, out var tryval))
 | 
			
		||||
            if (FreeSqlSqlServerGlobalExtensions._dicSetGlobalSelectWithLock.TryGetValue(orm.Ado.Identifier, out var tryval))
 | 
			
		||||
                this.WithLock(tryval.Item1, tryval.Item2);
 | 
			
		||||
        }
 | 
			
		||||
        public override ISelect<T1, T2> From<T2>(Expression<Func<ISelectFromExpression<T1>, T2, ISelectFromExpression<T1>>> exp) { this.InternalFrom(exp); var ret = new SqlServerSelect<T1, T2>(_orm, _commonUtils, _commonExpression, null); SqlServerSelect<T1>.CopyData(this, ret, exp?.Parameters); return ret; }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user