mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 优化 实体数据属性 DbDefaultValue 处理;
- 修复 Expression 表达式解析 Convert 的判断 bug;
This commit is contained in:
		@@ -17,6 +17,18 @@ namespace restful {
 | 
			
		||||
				.UseLogger(loggerFactory.CreateLogger<IFreeSql>())
 | 
			
		||||
				.UseAutoSyncStructure(true)
 | 
			
		||||
				.Build();
 | 
			
		||||
 | 
			
		||||
			Fsql.Aop.CurdAfter = (s, e) => {
 | 
			
		||||
				if (e.ElapsedMilliseconds > 200) {
 | 
			
		||||
					//记录日志
 | 
			
		||||
					//发送短信给负责人
 | 
			
		||||
				}
 | 
			
		||||
			};
 | 
			
		||||
 | 
			
		||||
			//Fsql.Aop.Where = (s, e) => {
 | 
			
		||||
			//	if (e.Parameters[0]?.ToString() == "1")
 | 
			
		||||
			//		e.IsCancel = true;
 | 
			
		||||
			//};
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		public IConfiguration Configuration { get; }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user