Synchronization code

This commit is contained in:
sunkaixuan 2022-11-25 12:51:08 +08:00
parent 0d99c679fb
commit bc8ac4a0a8

View File

@ -13,6 +13,10 @@ namespace SqlSugar
{
return new List<T> { thisValue };
}
public static List<T> ToList<T>(this IEnumerable<T> thisValue, Func<T, T> action) where T : class, new()
{
return thisValue.ToList();
}
public static IEnumerable<T> WhereIF<T>(this IEnumerable<T> thisValue, bool isOk, Func<T, bool> predicate)
{
if (isOk)