FreeSql icon indicating copy to clipboard operation
FreeSql copied to clipboard

.net6 的新日期 时间 类型 dateolny timeolny 不支持

Open lhtuling opened this issue 4 years ago • 0 comments

问题描述及重现步骤:

image

public class Clock : EntyBase
{
      public int UserId { get; set; }
      public User User { get; set; }
      public DateOnly ClockDate { get; set; }
      public TimeOnly? ClockInTime { get; set; }
      public TimeOnly? ClockOutTime { get; set; }
}

DateOnly TimeOnly 3个字段不会处理 并且会报错

数据库的具体版本

sqlite 3

安装的包

3.0.100

.net framework/. net core? 及具体版本

.net 6

lhtuling avatar Dec 30 '21 05:12 lhtuling