public static List <TReturnInfo> ToList <TReturnInfo>(this SelectBuild <TReturnInfo> select, int expireSeconds) { return(select.ToList(RedisHelper.Get, RedisHelper.Set, TimeSpan.FromSeconds(expireSeconds))); }
public static List <TReturnInfo> ToList <TReturnInfo>(this SelectBuild <TReturnInfo> select, TimeSpan expire) { return(select.ToList(RedisHelper.Get, RedisHelper.Set, expire)); }
public static List <TReturnInfo> ToList <TReturnInfo>(this SelectBuild <TReturnInfo> select, int expireSeconds) { return(select.ToList(expireSeconds)); }
public SqlUpdateBuild WhereNotExists <T>(SelectBuild <T> select) { return(this.Where($"NOT EXISTS({select.ToString("1")})")); }
public static List <TReturnInfo> ToList <TReturnInfo>(this SelectBuild <TReturnInfo> select, TimeSpan expire) { return(select.ToList(expire)); }