Operand type clash: time is incompatible with float
mrreddevil2412 opened this issue · comments
[ERROR Message]: Operand type clash: time is incompatible with float
[TYPE]: SqlException
[ERROR INFO]: Operand type clash: time is incompatible with float
[ERROR LINE]: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
[SugarColumn(IsNullable = true, ColumnDataType = "float")]
public TimeSpan? SoGio { get; set; }
Change to
[SugarColumn(IsNullable = true, ColumnDataType = "time")]
public TimeSpan? SoGio { get; set; }