完成 sqlite codefirst curd expression 开发与测试

This commit is contained in:
28810
2019-01-09 15:50:43 +08:00
parent 40f6e53edd
commit 27bc603d46
33 changed files with 523 additions and 599 deletions

View File

@ -253,7 +253,7 @@ namespace FreeSql.Internal {
case "Npgsql.LegacyPostgis.PostgisGeometry": return value;
}
if (type != value.GetType()) {
if (type.FullName == "System.TimeSpan") return TimeSpan.FromMilliseconds(double.Parse(value.ToString()));
if (type.FullName == "System.TimeSpan") return TimeSpan.FromSeconds(double.Parse(value.ToString()));
return Convert.ChangeType(value, type);
}
return value;