Пример #1
0
 public static List <T> GetResultSets <T>(this StoredProcedureWithResultSet <T> storedProcedure
                                          , RedisClient redisClient
                                          , TimeSpan expiry, When when = When.Always, CommandFlags flags = CommandFlags.None)
     where T : StoredProcedureResultSet, new()
 {
     return(storedProcedure.GetResultSets(redisClient, storedProcedure.GetRedisKey(), expiry, when, flags));
 }
Пример #2
0
 public static List <T> GetResultSets <T>(this StoredProcedureWithResultSet <T> storedProcedure
                                          , RedisClient redisClient, String key
                                          , TimeSpan expiry)
     where T : StoredProcedureResultSet, new()
 {
     return(storedProcedure.GetResultSets(redisClient, key, expiry, When.Always, CommandFlags.None));
 }