using (var db = CreateDBContext()) { int temp = 2; db.Update<DataDictionary>(p => p.Name == "测试类型", t => new DataDictionary { UpdateTime = t.CreateTime.AddDays(temp) }); }
Chloe.Exceptions.ChloeException:“An exception occurred while executing DbCommand. For details please see the inner exception. 42883: function make_interval(days => numeric) does not exist”
using (var db = CreateDBContext()) { int temp = 2; db.Update<DataDictionary>(p => p.Name == "测试类型", t => new DataDictionary { UpdateTime = t.CreateTime.AddDays(temp) }); }
Chloe.Exceptions.ChloeException:“An exception occurred while executing DbCommand. For details please see the inner exception. 42883: function make_interval(days => numeric) does not exist”