Update Sqlite DateTimeOffset

This commit is contained in:
sunkaixuan 2022-10-27 13:36:43 +08:00
parent c5352d17b8
commit 0cf9a96737

View File

@ -247,7 +247,7 @@ namespace SqlSugar
{
method = isNullableType ? getConvertInt32 : getInt32;
}
else if (bindPropertyType == UtilConstants.DateTimeOffsetType)
else if (bindPropertyType == UtilConstants.DateTimeOffsetType&&SugarCompatible.IsFramework)
{
method = isNullableType ? getConvertdatetimeoffset : getdatetimeoffset;
}