mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 增加 IncludeByPropertyName 按属性名进行 Include/IncludeMany 操作;#278
This commit is contained in:
		@@ -333,6 +333,13 @@ namespace FreeSql
 | 
			
		||||
        /// <returns></returns>
 | 
			
		||||
        ISelect<T1> IncludeMany<TNavigate>(Expression<Func<T1, IEnumerable<TNavigate>>> navigateSelector, Action<ISelect<TNavigate>> then = null) where TNavigate : class;
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// 按属性名字符串进行 Include/IncludeMany 操作
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        /// <param name="property"></param>
 | 
			
		||||
        /// <returns></returns>
 | 
			
		||||
        ISelect<T1> IncludeByPropertyName(string property);
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// 实现 select .. from ( select ... from t ) a 这样的功能<para></para>
 | 
			
		||||
        /// 使用 AsTable 方法也可以达到效果<para></para>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user