mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Synchronization code
This commit is contained in:
parent
0d99c679fb
commit
bc8ac4a0a8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user