mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Add Util.EscapeLikeValue
This commit is contained in:
@@ -1264,5 +1264,11 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region Other
|
||||||
|
public string EscapeLikeValue(string value, char wildcard = '%')
|
||||||
|
{
|
||||||
|
return UtilMethods.EscapeLikeValue(this.Context, value, wildcard);
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,5 +51,6 @@ namespace SqlSugar
|
|||||||
DataTable DictionaryListToDataTable(List<Dictionary<string, object>> dictionaryList);
|
DataTable DictionaryListToDataTable(List<Dictionary<string, object>> dictionaryList);
|
||||||
List<T> ToTree<T>(List<T> list, Expression<Func<T, IEnumerable<object>>> childListExpression, Expression<Func<T, object>> parentIdExpression, Expression<Func<T, object>> pkExpression, object rootValue);
|
List<T> ToTree<T>(List<T> list, Expression<Func<T, IEnumerable<object>>> childListExpression, Expression<Func<T, object>> parentIdExpression, Expression<Func<T, object>> pkExpression, object rootValue);
|
||||||
KeyValuePair<string, SugarParameter[]> ConditionalModelsToSql(List<IConditionalModel> conditionalModels, int beginIndex = 0);
|
KeyValuePair<string, SugarParameter[]> ConditionalModelsToSql(List<IConditionalModel> conditionalModels, int beginIndex = 0);
|
||||||
|
string EscapeLikeValue(string value, char wildcard = '%');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user