mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-03 08:55:26 +08:00 
			
		
		
		
	- 完善 DynamicFilter Custom 安全问题;
This commit is contained in:
		@@ -131,10 +131,17 @@ namespace FreeSql.Internal.Model
 | 
			
		||||
        /// {<para></para>
 | 
			
		||||
        /// public class DynamicFilterCustom<para></para>
 | 
			
		||||
        /// {<para></para>
 | 
			
		||||
        /// [DynamicFilterCustom]<para></para>
 | 
			
		||||
        /// public static string RawSql(string value) => value;<para></para>
 | 
			
		||||
        /// }<para></para>
 | 
			
		||||
        /// }<para></para>
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        Custom
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// 授权 DynamicFilter 支持 Custom 自定义解析
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    [AttributeUsage(AttributeTargets.Method)]
 | 
			
		||||
    public class DynamicFilterCustomAttribute : Attribute { }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user