mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update Sqlite
This commit is contained in:
parent
c9ac1962c1
commit
b68e26b17a
@ -175,7 +175,11 @@ namespace SqlSugar
|
||||
#region Sqlite Logic
|
||||
if (this.Context.CurrentConnectionConfig.DbType == DbType.Sqlite)
|
||||
{
|
||||
if (bindPropertyType == PubConst.IntType)
|
||||
if (bindPropertyType.IsEnum())
|
||||
{
|
||||
method = isNullableType ? getConvertEnum_Null.MakeGenericMethod(bindPropertyType) : getEnum.MakeGenericMethod(bindPropertyType);
|
||||
}
|
||||
else if (bindPropertyType == PubConst.IntType)
|
||||
{
|
||||
method = isNullableType ? getConvertInt32 : getInt32;
|
||||
}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user