mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Synchronization code
This commit is contained in:
parent
eee5fd88c0
commit
7ca254aaea
@ -746,6 +746,15 @@ namespace SqlSugar
|
|||||||
case "ToBoolean":
|
case "ToBoolean":
|
||||||
return this.Context.DbMehtods.ToBool(model);
|
return this.Context.DbMehtods.ToBool(model);
|
||||||
case "Substring":
|
case "Substring":
|
||||||
|
if (model.Args.Count == 2)
|
||||||
|
{
|
||||||
|
model.Args.Add(new MethodCallExpressionArgs()
|
||||||
|
{
|
||||||
|
MemberName="100000",
|
||||||
|
IsMember=true,
|
||||||
|
MemberValue= "100000",
|
||||||
|
});
|
||||||
|
}
|
||||||
return this.Context.DbMehtods.Substring(model);
|
return this.Context.DbMehtods.Substring(model);
|
||||||
case "Replace":
|
case "Replace":
|
||||||
return this.Context.DbMehtods.Replace(model);
|
return this.Context.DbMehtods.Replace(model);
|
||||||
|
Loading…
Reference in New Issue
Block a user