mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-01 10:10:16 +08:00
Add SqlFunc.SplitIn(+3)
This commit is contained in:
parent
f2ab18a100
commit
27d8d3cee5
@ -770,6 +770,12 @@ namespace SqlSugar
|
||||
var value1 = MergeString(value, "','");
|
||||
var value2 = MergeString("','", value);
|
||||
var value3 = MergeString("','", value, "','");
|
||||
if (model.Args.Count == 3)
|
||||
{
|
||||
value1 = value1.Replace("','", model.Args[2].MemberName+"" );
|
||||
value2 = value2.Replace("','", model.Args[2].MemberName + "" );
|
||||
value3 = value3.Replace("','", model.Args[2].MemberName + "" );
|
||||
}
|
||||
var likeString1 =
|
||||
StartsWith(new MethodCallExpressionModel() { Args = new List<MethodCallExpressionArgs>() {
|
||||
new MethodCallExpressionArgs(){ IsMember=true, MemberName=fullString },
|
||||
|
@ -344,6 +344,11 @@ namespace SqlSugar
|
||||
throw new NotSupportedException("Can only be used in expressions");
|
||||
}
|
||||
|
||||
public static bool SplitIn(string CommaSegmentationString, string inValue,char splitChar)
|
||||
{
|
||||
throw new NotSupportedException("Can only be used in expressions");
|
||||
}
|
||||
|
||||
public static bool ListAny<T>(List<T> listConstant, Expression<Func<T,bool>> expression)
|
||||
{
|
||||
throw new NotSupportedException("Can only be used in expressions");
|
||||
|
Loading…
Reference in New Issue
Block a user