pgsql生成datetime类型疑似有误 返回

SqlSugar
8 66
该叫什么 xf 发布于1周前
悬赏:100 飞吻

1678698839619.jpg

1678698952645.jpg

代码片段:

public DateTime? xxx{ get; set; }

db.Aop.DataExecuting = (oldValue, entityInfo) =>
{
if (entityInfo.PropertyName == "xxx")
 entityInfo.SetValue(DateTime.Now); 
 }

error:

1678699122383.jpg

热忱回答8