mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 09:15:27 +08:00 
			
		
		
		
	- 增加 实体特性 [Column(ServerTime = DateTimeKind.Utc)] 使用数据库时间执行插入数据;
- 修复 ToList(a => new Dto { .. }) 在使用 GroupBy 之后报错的 bug;
- 修复 注释迁移到数据库,在 asp.net 4.7 无效的问题;
			
			
This commit is contained in:
		@@ -295,8 +295,8 @@ namespace FreeSql.PostgreSQL
 | 
			
		||||
            {
 | 
			
		||||
                switch (exp.Member.Name)
 | 
			
		||||
                {
 | 
			
		||||
                    case "Now": return "current_timestamp";
 | 
			
		||||
                    case "UtcNow": return "(current_timestamp at time zone 'UTC')";
 | 
			
		||||
                    case "Now": return _common.Now;
 | 
			
		||||
                    case "UtcNow": return _common.NowUtc;
 | 
			
		||||
                    case "Today": return "current_date";
 | 
			
		||||
                    case "MinValue": return "'0001/1/1 0:00:00'::timestamp";
 | 
			
		||||
                    case "MaxValue": return "'9999/12/31 23:59:59'::timestamp";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user