mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 16:18:47 +08:00
Synchronization code
This commit is contained in:
parent
54dc72dfe8
commit
70ebaf0212
@ -235,6 +235,20 @@ namespace SqlSugar
|
|||||||
});
|
});
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
else if (type.IsIn(typeof(Guid)))
|
||||||
|
{
|
||||||
|
Expression<Func<SingleColumnEntity<object>, object>> exp = it => Convert.ToDecimal(it.ColumnName);
|
||||||
|
var result = queryBuilder.LambdaExpressions.DbMehtods.ToGuid(new MethodCallExpressionModel()
|
||||||
|
{
|
||||||
|
Args = new List<MethodCallExpressionArgs>() {
|
||||||
|
new MethodCallExpressionArgs(){
|
||||||
|
IsMember=true,
|
||||||
|
MemberName= formatBuilder.FormatValue(value)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return result;
|
||||||
|
}
|
||||||
else if (type.IsIn(typeof(DateTime))||type.Name== "DateOnly")
|
else if (type.IsIn(typeof(DateTime))||type.Name== "DateOnly")
|
||||||
{
|
{
|
||||||
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
||||||
|
Loading…
Reference in New Issue
Block a user