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